reduce allocation in funcStrip

benchmark              old ns/op     new ns/op     delta
BenchmarkFuncStrip     468           334           -28.63%

benchmark              old allocs     new allocs     delta
BenchmarkFuncStrip     1              0              -100.00%

benchmark              old bytes     new bytes     delta
BenchmarkFuncStrip     32            0             -100.00%
2 files changed