aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-08 12:27:39 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-08 12:27:39 +0100
commitb0fa969c096608d3411359b3d0c4f95b95ddc2d5 (patch)
tree12f81affe7956b7e6039346e06cbedd06ff80eb6 /docs
parent5e7b20cfc3d38b457f3282bf8227737a8ee4eecd (diff)
prog: speedup and simplify hints code
Clone program only once. Preallocate slices in clone. Remove the clone full mode. Always mutate args in place. Allocate replacers map lazily. Don't allocate res map at all (calculate valus on the go). Remove sliceToUint64, pad. benchmark old ns/op new ns/op delta BenchmarkHints 122100048 7466013 -93.89%
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions