{{ message }}
Commit 0c0241f
buffer,util: refactor for performance
internal/util.js definied toInteger() and toLength() but they were only
used by buffer.js. Inlining these small functions results in a small but
statistically-significant performance gain.
PR-URL: #12153
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 25b851b commit 0c0241f
4 files changed
Lines changed: 8 additions & 87 deletions
File tree
- lib
- internal
- test/parallel
This file was deleted.
This file was deleted.

0 commit comments