next.js
a278e94d
- fix: avoid creation of buffers for read ops (#56421)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
fix: avoid creation of buffers for read ops (#56421) Example usage of `readFileSync().toString()` first creates a `Buffer` instance and later does another C++ call to convert Buffer to UTF-8. This pull request reduces the C++ calls.
References
#56421 - fix: avoid creation of buffers for read ops
Author
anonrig
Parents
f8308c9e
Loading