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

feat: use number set to speed up number parsing #40

Merged
merged 1 commit into from Mar 17, 2022

Commits on Mar 17, 2022

  1. feat: use number set to speed up number parsing

    name                           old time/op    new time/op    delta
    Decoder_Float64/floats.json-4    23.4µs ± 2%    21.4µs ± 2%  -8.47%  (p=0.000 n=15+14)
    
    name                           old alloc/op   new alloc/op   delta
    Decoder_Float64/floats.json-4     0.00B          0.00B         ~     (all equal)
    
    name                           old allocs/op  new allocs/op  delta
    Decoder_Float64/floats.json-4      0.00           0.00         ~     (all equal)
    tdakkota committed Mar 17, 2022
    Copy the full SHA
    75b85e8 View commit details
    Browse the repository at this point in the history