Comparing version 1.0.32 to 1.0.33
{ | ||
"name": "optimesh", | ||
"version": "1.0.32", | ||
"version": "1.0.33", | ||
"description": "OptiMesh reduces meshes resolution to optimize performance, memory usage and download size", | ||
@@ -5,0 +5,0 @@ "cdn": "https://cdn.jsdelivr.net/npm/optimesh@1.0.32/build/main.js", |
@@ -35,3 +35,3 @@ import { emptyOversizedContainer, emptyOversizedContainerIndex, zeroFill } from './BufferArrayManager'; | ||
// TODO: wtf is happening with multithreaded optimiser | ||
let totalAvailableWorkers = 1; // Math.min(5, navigator.hardwareConcurrency); | ||
let totalAvailableWorkers = Math.min(5, navigator.hardwareConcurrency); | ||
// if SAB is not available use only 1 worker per object to fully contain dataArrays that will be only available after using transferable objects | ||
@@ -38,0 +38,0 @@ const MAX_WORKERS_PER_OBJECT = typeof SharedArrayBuffer === 'undefined' ? 1 : navigator.hardwareConcurrency; |
Sorry, the diff of this file is too big to display
514506
14979