jsonparser icon indicating copy to clipboard operation
jsonparser copied to clipboard

Add a new function DeleteOnOrig

Open crowfrog opened this issue 3 years ago • 1 comments

Description: add a new function DeleteOnOrig which can do delete operation on original slice. It will really help improve performance by reducing one memory alloc/dealloc and one whole copy per one call.

Benchmark before change:

Benchmark after change:

These is no benchmark case because no new code introduced almost.

crowfrog avatar Oct 08 '22 05:10 crowfrog

@buger @daboyuka @AllenX2018

crowfrog avatar Oct 09 '22 01:10 crowfrog