evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.77k stars 57 forks source link

Use ASCIISet #139

Closed elliotwutingfeng closed 4 days ago

elliotwutingfeng commented 1 year ago

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

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

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication