Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
buffer: improve copy() performance #29066
Results of included benchmark:
FWIW I just tried with 1MB and it seems only then is there a slight regression (~1%) when doing a partial copy. The funny thing is that even deferring to C++ with no parameter/value validation (basically just a
My guess is that there are missing optimizations in V8 for some larger values?