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

Add a builder-like capability to the ImHashMap via BuildFromDifferent methods #41

Closed
dadhi opened this issue Mar 16, 2021 · 2 comments
Closed

Comments

@dadhi
Copy link
Owner

dadhi commented Mar 16, 2021

The BuildFromDifferent is creating the final form of the map without the temporary allocated data structures.

@dadhi
Copy link
Owner Author

dadhi commented May 3, 2022

Adding the BuildUnchecked methods for immediate construction of the final structure for small maps.
The idea is to have a method accepting the IEnumerable<KeyValuePair<K, V>> and construct up to a small M number of entries via the dedicated BuildUnchecked method and the rest via normal AddOrUpdate().

dadhi added a commit that referenced this issue May 3, 2022
dadhi added a commit that referenced this issue May 3, 2022
dadhi added a commit that referenced this issue May 4, 2022
@dadhi dadhi changed the title Add the mutable Builder-like capability to the ImMap and ImHashMap Add a builder-like capability to the ImHashMap via BuildFromDifferent methods May 23, 2022
@dadhi
Copy link
Owner Author

dadhi commented May 23, 2022

BuildUnchecked is renamed to BuildFromDifferent

@dadhi dadhi closed this as completed May 23, 2022
@dadhi dadhi changed the title Add a builder-like capability to the ImHashMap via BuildFromDifferent methods Add a builder-like capability to the ImHashMap via BuildFromDifferent methods May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant