You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason this module exists is because I had a suite of IterableIterator prototype extensions, they were all generator functions and they were not performant at all.
It seems like Sequency is written in a similar way to goodstream (IE, using Iterator stuff without generators), the only difference is that the code is a lot easier to read. (Most of goodstream was made specifically to be performant, the code being "maintainable" is much less a priority).
It'd be a good idea to test performance between the modules to see where additional perf gains could be in goodstream, and if the optimisations I've done are even that great.
The text was updated successfully, but these errors were encountered:
Update after some investigation into performance — sad trombone
The way goodstream was written actually made performance worse (I'm guessing due to things like too many field initialisations, many of those being arrays). From some early testing, it seems to average about 4x slower than sequency.
It's okay though, because that means when we rewrite it to make it more maintainable we'll be simultaneously speeding it up!
The reason this module exists is because I had a suite of IterableIterator prototype extensions, they were all generator functions and they were not performant at all.
It seems like Sequency is written in a similar way to goodstream (IE, using Iterator stuff without generators), the only difference is that the code is a lot easier to read. (Most of goodstream was made specifically to be performant, the code being "maintainable" is much less a priority).
It'd be a good idea to test performance between the modules to see where additional perf gains could be in goodstream, and if the optimisations I've done are even that great.
The text was updated successfully, but these errors were encountered: