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

Swap hash function and bump map version #35

Merged
merged 1 commit into from Dec 4, 2021
Merged

Swap hash function and bump map version #35

merged 1 commit into from Dec 4, 2021

Conversation

kelindar
Copy link
Owner

@kelindar kelindar commented Dec 4, 2021

This PR swaps the hash function for xxh3 when used for string enum column. I've also bumped the intmap version and use intmap.Sync instead of locking here, which results in a slight improvement of performance since it's using an RWMutex instead of a traditional mutex.

@kelindar kelindar merged commit 045c6b9 into main Dec 4, 2021
@kelindar kelindar deleted the xxh3 branch December 4, 2021 08:50
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.

None yet

1 participant