Closed elliotwutingfeng closed 4 days ago
Proposing use of ASCIISet instead of map[byte]struct{}.
ASCIISet
map[byte]struct{}
ASCIISet is a zero-dependency library for sets of ASCII characters with 28 times faster lookup speed than map[byte]struct{}.
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
Proposing use of
ASCIISet
instead ofmap[byte]struct{}
.ASCIISet
is a zero-dependency library for sets of ASCII characters with 28 times faster lookup speed thanmap[byte]struct{}
.