Dmitry Vyukov b0fa969c09 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%
2017-12-08 12:27:39 +01:00
..
2017-09-05 15:52:42 +02:00
2017-12-08 12:27:39 +01:00
2017-12-08 12:27:39 +01:00
2017-12-08 11:33:30 +01:00
2017-11-30 14:50:50 +01:00
2017-11-29 11:12:47 +01:00
2017-11-29 11:12:47 +01:00