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 swisstable header as fast hashmap alternative #270

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

luc-tielen
Copy link

@luc-tielen luc-tielen commented Aug 3, 2023

Checklist

  • Closing issues: #issue
  • Mark this if you consider it ready to merge
  • I've added tests (optional)
  • I wrote some documentation

Description

This adds google's cwisstable hashmap impl to the codebase. For now it's separate (and will be used in r2), but we should really consider using this hashmap as the foundation of Ht* hashmaps in sdb. This will save a significant amount of CPU cycles and has a much lower memory footprint.

NOTE: Windows support is not complete yet, but should be relatively easy to make it compile there too.

@trufae trufae merged commit 44f3dff into radareorg:master Aug 3, 2023
11 of 13 checks passed
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