Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizing performance of _BinaryWriter._resizeBuffer
In class _BinaryWriter of the gltf exporter, a loop is used to copy contents in old buffer to new buffer, which is benchmarked to be slow. TypedArray.prototype.set() can be used for faster memory copying while having the same Browser compatibility of TypedArray. Forum link: https://forum.babylonjs.com/t/optimizing-performance-of-binarywriter-resizebuffer/37516
- Loading branch information