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

Use ASCIISet #388

Merged
merged 1 commit into from
Jun 2, 2023
Merged

Use ASCIISet #388

merged 1 commit into from
Jun 2, 2023

Conversation

elliotwutingfeng
Copy link
Contributor

Proposing use of ASCIISet instead of map[byte]struct{} or map[byte]bool.

ASCIISet is a zero-dependency library for sets of ASCII characters with 28 times faster lookup speed than map[byte]struct{} or map[byte]bool.

@shenwei356 shenwei356 merged commit f9943f9 into shenwei356:master Jun 2, 2023
@elliotwutingfeng elliotwutingfeng deleted the asciiset branch June 2, 2023 09:26
@shenwei356
Copy link
Owner

Thank you, @elliotwutingfeng, it gets faster!

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

2 participants