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

New Dict implementation using Left-Leaning RB-Trees. #959

Merged
merged 1 commit into from May 22, 2018

Conversation

Projects
None yet
2 participants
@Skinney
Contributor

Skinney commented May 14, 2018

This new implementation is a drop-in replacement, offering faster inserts (~170% increase) and faster removals (~30% faster).

The code is also compiles to less js. Recent testing shows that this implementation produces 488 less bytes after minification and gzip.

I've made as few changes to the original code as possible.

@Skinney Skinney changed the title from New Dict implementation using Left-Leaning RRB-Trees. to New Dict implementation using Left-Leaning RB-Trees. May 21, 2018

@evancz evancz merged commit c564391 into elm:master May 22, 2018

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 22, 2018

Member

Just got a chance to do the review. Looks great to me! Excited to get it out to folks ❤️

Member

evancz commented May 22, 2018

Just got a chance to do the review. Looks great to me! Excited to get it out to folks ❤️

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