diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-12-08 12:27:39 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-12-08 12:27:39 +0100 |
| commit | b0fa969c096608d3411359b3d0c4f95b95ddc2d5 (patch) | |
| tree | 12f81affe7956b7e6039346e06cbedd06ff80eb6 /docs/configuration.md | |
| parent | 5e7b20cfc3d38b457f3282bf8227737a8ee4eecd (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/configuration.md')
0 files changed, 0 insertions, 0 deletions
