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

Simplify enum strings column #32

Merged
merged 1 commit into from Nov 6, 2021
Merged

Simplify enum strings column #32

merged 1 commit into from Nov 6, 2021

Conversation

kelindar
Copy link
Owner

@kelindar kelindar commented Nov 6, 2021

This PR simplifies the enum string column with a int-int map. Previously, we were storing the string data in a single buffer and made use of an extra cache mapping. Now, there's a new hash -> location mapping and the string data is simply a []string slice. This roughly improves the insertion speed by 15% from my observations.

@kelindar kelindar merged commit f720749 into main Nov 6, 2021
@kelindar kelindar deleted the enumstr branch November 6, 2021 17:05
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