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

using uint64 for number of elements #27

Open
jtarchie opened this issue Jan 24, 2024 · 0 comments
Open

using uint64 for number of elements #27

jtarchie opened this issue Jan 24, 2024 · 0 comments

Comments

@jtarchie
Copy link

I used Swiss to test out a utility I had written. Initially, it used native maps but employed a lot of memory. I can confirm that the switch to Swiss memory usage (and the graph from the blog) is correct.

I had to make a change, however. I had more items that the uint32 could hold a reference to. I changed the types within the library to uint64. I should have chosen a different data structure, a separate issue.

Would you accept a PR that allows two swiss versions of uint32 and uint64? I was thinking of being through generics.

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

No branches or pull requests

1 participant