Re: minisphere
Reply #106 –
I was doing another round of speed tests, this time using my link library.
I have a test where I compare Link.js with Lazy.js and my old Query.js functional programming libraries. I was shocked to see Query.js outpace the other by a magnitude of 10. Lazy execution is just SLOW on both minisphere and Sphere-SFML.
// times in SSFML:
Link: 966ms
Lazy: 965ms
Query: 76ms
// times in minisphere:
Link: 2300ms
Lazy: 2298ms
Query: 132ms
// times in Sphere 1.5:
(out of memory)
// in 1.5 using 10 times less results:
Link: 300ms
Lazy: 300ms
Query: 19ms
As a reminder, Query is the library I originally made that Link is based off of. The only problem is it doesn't lazy execute the chain. Safe to say, it really is fast and kicks the crap out of the other two if you need it for a tight execution loop. In a web browser, this is not the case and is actually slower by many factors (query forces through the chain n times, where n is each added operation, Link and Lazy go through the chain once).