Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Make unionWith use a merge instead of an alter loop #117

Closed
rightfold opened this issue Jul 30, 2017 · 2 comments
Closed

Make unionWith use a merge instead of an alter loop #117

rightfold opened this issue Jul 30, 2017 · 2 comments

Comments

@rightfold
Copy link
Contributor

I think unionWith could do a merge because both maps are already sorted. This would be O(n). Currently it does an alter loop which is O(n log n).

@paf31
Copy link
Contributor

paf31 commented Jul 30, 2017

Same as #1?

@rightfold
Copy link
Contributor Author

Ganz toll!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants