Hi there!
It’s about ColladaLoader (I didn’t check others).
If you replace the code text.trim().split( /\s+/ )
by text.replace(/\n/g, " ").replace(/ \s+/g, " ").trim().split(" ")
(see parseFloat and parseInt functions) the parser will work much faster.
1 thought on “ColladaLoader: parsing optimisation”
Comments are closed.
well, take a look – https://jsperf.com/loader-speed-test/1