Commit Graph

2 Commits

Author SHA1 Message Date
9923f8cfa9 Reduce slice growth (#1663) 2016-08-30 19:52:41 +08:00
558ba06368 decode with value size (#1641)
Add size parameter for Decode to reduce slice growth
BenchmarkDecodeWithSize-8 300000 6153 ns/op
BenchmarkDecodeWithOutSize-8 200000 11934 ns/op
2016-08-26 10:44:03 +08:00