donmccurdy / glTF-Transform

glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
https://gltf-transform.dev
MIT License
1.42k stars 150 forks source link

v4: Upgrade to property-graph v2 (breaking change) #1141

Closed donmccurdy closed 7 months ago

donmccurdy commented 1 year ago

Changes:

donmccurdy commented 7 months ago

Note - the only bench mark that really improves with this PR is 'flatten.bench.ts', but real-world testing on larger scenes like PlantComplex showed large improvements on join and dedup operations as well. Mainly this allows faster disposal of objects, which was previously not well optimized for scenes with many nodes or accessors.