asciicheck

Simple linter to check that your code does not contain non-ASCII identifiers

MIT License

Stars
22

Bot releases are hidden (Show)

asciicheck - v0.2.0: require Go 1.18, use latest x/tools version Latest Release

Published by tdakkota over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/tdakkota/asciicheck/compare/v0.1.1...v0.2.0

asciicheck - v0.1.1: Optimize ASCII checker

Published by tdakkota about 3 years ago

This release includes a significant performance improvement.

name               old time/op    new time/op    delta
IsASCII/Len=1-12     5.60ns ± 1%    3.28ns ± 0%  -41.37%  (p=0.000 n=9+8)
IsASCII/Len=8-12     18.8ns ± 2%     8.8ns ± 0%  -53.29%  (p=0.000 n=9+10)
IsASCII/Len=16-12    27.2ns ± 2%    16.9ns ± 3%  -37.76%  (p=0.000 n=10+9)
IsASCII/Len=32-12    57.3ns ±14%    30.8ns ± 2%  -46.26%  (p=0.000 n=10+10)
asciicheck - v0.1.0: First release

Published by tdakkota about 3 years ago