-
Notifications
You must be signed in to change notification settings - Fork 726
Open
Milestone
Description
This library used to be fast, but modern browsers are now allocating simple objects so fast that they are effectively free. Array allocation is still much slower and ArrayBuffer allocation is extremely slow.
A new math library is needed to take advantage of this. It should use simple classes, all functions can return new instances instead of using awkward out parameters and there should only be conversion to ArrayBuffers as a final function when assigning to webgl. (technically those arraybuffers can be reused as webgl doesn't retain references to them after you assign)
Check the performance of different approaches here:
Gladskih, yvele, torcoste, eliemichel and mqnc
Metadata
Metadata
Assignees
Labels
No labels