0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Ruben Bridgewater 177b7314cf
buffer: improve Buffer#fill performance
1) This improves the performance for Buffer#fill by using shortcuts.
2) It also ports throwing errors to JS. That way they contain the
proper error code.
3) Using negative `end` values will from now on result in an error
instead of just doing nothing.
4) Passing in `null` as encoding is from now on accepted as 'utf8'.

PR-URL: https://github.com/nodejs/node/pull/18790
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-03-02 02:09:24 +00:00
..
api buffer: improve Buffer#fill performance 2018-03-02 02:09:24 +00:00
api_assets
changelogs 2018-03-01, Version 9.7.0 (Current) 2018-03-01 20:47:02 +11:00
guides src: Remove lttng support. 2018-03-01 16:44:43 +00:00
.eslintrc.yaml doc: enable eslint prefer-template rule 2018-02-22 14:56:17 +00:00
first_timer_badge.png
full-white-stripe.jpg
node.1 doc: refactor manpage to use mdoc(7) macros 2018-02-17 15:43:29 +01:00
onboarding-extras.md doc: update onboarding-extras 2018-02-06 13:55:38 +01:00
onboarding.md doc: update 2fa information in onboarding.md 2018-02-26 22:01:15 +09:00
osx_installer_logo.png
releases.md doc: note that linting is required in releases.md 2018-02-16 19:41:19 +01:00
STYLE_GUIDE.md doc: fix e.g., to e.g. in docs 2018-01-25 16:29:50 +02:00
template.html
thin-white-stripe.jpg