Closed rickyyangz closed 4 years ago
As I tested on my laptop,
the original one costs:
Benchmark_VarintSize-12 300000000 6.21 ns/op
the optimized one costs:
Benchmark_VarintSize2-12 2000000000 0.52 ns/op
Awesome, but
1) can we get a test for this, please? 2) is this even used anywhere?
As I tested on my laptop,
the original one costs:
the optimized one costs: