New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise unpacking by using single match context #30

Merged
merged 18 commits into from Apr 15, 2017

Conversation

Projects
None yet
1 participant
@lexmag
Owner

lexmag commented Apr 8, 2017

It gives minimum 20% speedup for highly nested complex data structures, and around 42% speedup for somewhat long maps or lists.

@lexmag lexmag force-pushed the am/single-match branch 11 times, most recently from 9ff9683 to 796e99a Apr 10, 2017

@lexmag lexmag force-pushed the am/single-match branch from 796e99a to 264e0ba Apr 11, 2017

@lexmag lexmag force-pushed the am/single-match branch from 264e0ba to baa7dbf Apr 11, 2017

lexmag added some commits Apr 7, 2017

WIP (Move index limit matching to the top)
It gives great speedup for complex structures while degrade
performance for plain long collections (though, it is still way faster than
original).

@lexmag lexmag force-pushed the am/single-match branch from baa7dbf to 6eacf81 Apr 11, 2017

@lexmag lexmag merged commit 08e9dcf into master Apr 15, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@lexmag lexmag deleted the am/single-match branch Apr 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment