Commit 6accf0c
authored
Remove parseint allocs (#37)
Since we have control over the byte slice we are parsing we can use an unsafe conversion when parsing numbers. This reduces allocs, often by more than an order of magnitude.
Good solid speedup and importantly less allocs.
Benchmarks are updated and diff reflects performance change.
Allow others to have access to the previous structure for potential reuse.1 parent 762cc41 commit 6accf0c
3 files changed
+163
-149
lines changed
0 commit comments