0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
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
..
_toc.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
addons.md doc: remove extraneous "for example" text 2018-02-23 02:53:21 +02:00
all.md doc: prepare for v8/V8 linting in doc text 2017-11-22 08:24:46 -08:00
assert.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
async_hooks.md doc: remove Returns: {undefined} 2018-02-26 16:46:55 +02:00
buffer.md buffer: improve Buffer#fill performance 2018-03-02 02:09:24 +00:00
child_process.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
cli.md doc: remove **Note:** tags 2018-02-08 11:57:14 -05:00
cluster.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
console.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
crypto.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
debugger.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
deprecations.md doc: add a deprecation message for removing lttng 2018-03-01 16:47:16 +00:00
dgram.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
dns.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
documentation.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
domain.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
errors.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
esm.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
events.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
fs.md Revert "fs: Revert throw on invalid callbacks" 2018-02-26 23:18:12 +00:00
globals.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
http2.md doc: remove Returns: {undefined} 2018-02-26 16:46:55 +02:00
http.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
https.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
index.md
inspector.md doc: fix duplicate words & spellings in docs 2017-12-31 18:14:25 +01:00
intl.md doc: add RegExp Unicode Property Escapes to intl 2018-03-02 02:34:37 +02:00
modules.md doc: remove extraneous "for example" text 2018-02-23 02:53:21 +02:00
n-api.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
net.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
os.md doc: fix/add link to Android info 2018-02-26 18:27:29 +02:00
path.md doc: remove extraneous "for example" text 2018-02-23 02:53:21 +02:00
perf_hooks.md perf_hooks: emit trace events for marks, measures, and timerify 2018-02-26 13:55:33 -08:00
process.md doc: fix/add link to Android info 2018-02-26 18:27:29 +02:00
punycode.md doc: remove **Note:** tags 2018-02-08 11:57:14 -05:00
querystring.md doc: remove extraneous "for example" text 2018-02-23 02:53:21 +02:00
readline.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
repl.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
stream.md doc: readable.push(undefined) in non-object mode 2018-02-26 10:23:45 +01:00
string_decoder.md
synopsis.md doc: be more explicit in the sypnosis 2018-02-07 15:06:14 +01:00
timers.md 2018-03-01, Version 9.7.0 (Current) 2018-03-01 20:47:02 +11:00
tls.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
tracing.md perf_hooks: emit trace events for marks, measures, and timerify 2018-02-26 13:55:33 -08:00
tty.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
url.md doc: add history for url.parse 2018-02-10 16:02:09 +01:00
util.md 2018-03-01, Version 9.7.0 (Current) 2018-03-01 20:47:02 +11:00
v8.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
vm.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
zlib.md doc: remove **Note:** tags 2018-02-08 11:57:14 -05:00