Skip to content
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
Merged

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

merged 1 commit into from
May 22, 2018

Conversation

robinheghan
Copy link
Contributor

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.

@robinheghan robinheghan changed the title New Dict implementation using Left-Leaning RRB-Trees. New Dict implementation using Left-Leaning RB-Trees. May 21, 2018
@evancz evancz merged commit c564391 into elm:master May 22, 2018
@evancz
Copy link
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants