node/lib/internal
Anton Khlynovskiy b690916e5a lib: freelist: use .pop() for allocation
Array#pop() is known to be faster than Array#shift().
To be exact, it's O(1) vs. O(n). In this case there's no difference
from which side of the "pool" array the object is retrieved,
so .pop() should be preferred.

PR-URL: https://github.com/nodejs/node/pull/2174
Reviewed-By: mscdex - Brian White <mscdex@mscdex.net>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
2016-03-21 12:57:52 -07:00
..
streams streams: refactor LazyTransform to internal/ 2015-09-15 13:53:21 -04:00
child_process.js child_process: fix data loss with readable event 2016-03-02 14:01:11 -08:00
cluster.js cluster: remove handles when disconnecting worker 2015-12-23 08:38:33 -08:00
freelist.js lib: freelist: use .pop() for allocation 2016-03-21 12:57:52 -07:00
module.js module,repl: remove repl require() hack 2016-01-19 11:52:29 -08:00
net.js net: move isLegalPort to internal/net 2016-03-02 14:01:11 -08:00
readme.md doc: add internal modules notice 2015-08-25 11:58:50 -04:00
repl.js repl: make sure historyPath is trimmed 2016-02-15 11:30:23 -08:00
socket_list.js lib,src: remove usage of events.EventEmitter 2015-09-23 08:39:34 +10:00
util.js util: move .decorateErrorStack to internal/util 2016-01-19 11:52:29 -08:00
v8_prof_polyfill.js tools: run tick processor without forking 2016-03-02 14:01:11 -08:00
v8_prof_processor.js tools: run tick processor without forking 2016-03-02 14:01:11 -08:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.