Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buffer: remove minor perf regression in from()
A performance regression was introduced to Buffer.from() between 6.5.0 and 6.6.0. This commit gains back that regression, but does not solve the actual issue. From the IRHydra output it seems v8 is doing something every different in how the functions are evaluated. When passing an array to Buffer.from() IRHydra shows 31 code blocks in 6.5.0 and 181 code blocks in 6.6.0. Investigation still needs to be done to determine the root of this issue.
- Loading branch information