Skip to content

v1.1.7

Compare
Choose a tag to compare
@lithammer lithammer released this 03 May 07:07
· 35 commits to master since this release
6561906
  • Improve performance of *Fold functions by reducing allocations (#53). Credits to @josharian!
                                  │    v1.1.6       │              v1.1.7
                                  │    sec/op       │   sec/op     vs base
    MatchFold-8                      334.5n ± 1%      137.9n ± 2%  -58.77% (p=0.000 n=10)
    MatchFoldBigLate-8              27.349µ ± 1%      7.088µ ± 1%  -74.08% (p=0.000 n=10)
    MatchFoldBigEarly-8             26.390µ ± 2%      6.091µ ± 9%  -76.92% (p=0.000 n=10)
    
                                  │     v1.1.6      │               v1.1.7
                                  │      B/op       │     B/op      vs base
    MatchFold-8                        720.0 ± 0%       512.0 ± 0%  -28.89% (p=0.000 n=10)
    MatchFoldBigLate-8              36.711Ki ± 0%     8.750Ki ± 0%  -76.17% (p=0.000 n=10)
    MatchFoldBigEarly-8             36.711Ki ± 0%     8.750Ki ± 0%  -76.17% (p=0.000 n=10)
    
                                  │    v1.1.6       │             v1.1.7
                                  │   allocs/op     │ allocs/op   vs base
    MatchFold-8                     10.000 ± 0%       2.000 ± 0%  -80.00% (p=0.000 n=10)
    MatchFoldBigLate-8              186.00 ± 0%       25.00 ± 0%  -86.56% (p=0.000 n=10)
    MatchFoldBigEarly-8             186.00 ± 0%       25.00 ± 0%  -86.56% (p=0.000 n=10)