node/lib
Trevor Norris 646ac18d79 node: AsyncListener use separate storage mechanism
Before when an AsyncListener object was created and the "create"
callback returned a value, it was necessary to construct a new Object
with the same callbacks but add a place for the new storage value.

Now, instead, a separate storage array is kept on the context which is
used for any return value of the "create" callback. This significantly
reduces the number of Objects that need to be created.

Also added a flags property to the context to quickly check if a
specific callback was available either on the context or on the
AsyncListener instance itself.

Few other minor changes for readability that were difficult to separate
into their own commit.

This has not been optimized yet.
2014-01-09 13:47:03 -08:00
..
_debugger.js Merge remote-tracking branch 'upstream/v0.10' 2013-10-25 11:26:05 -07:00
_http_agent.js http: force socket encoding to be null 2013-11-07 08:24:50 -08:00
_http_client.js src: revert domain using AsyncListeners 2014-01-09 13:25:20 -08:00
_http_common.js http: parse the status message in a http response. 2013-12-20 17:55:08 +04:00
_http_incoming.js http: parse the status message in a http response. 2013-12-20 17:55:08 +04:00
_http_outgoing.js http: removed headers stay removed 2013-08-19 16:05:44 -07:00
_http_server.js http: add statusMessage 2013-10-16 18:34:52 -07:00
_linklist.js Update copyright headers 2011-03-14 17:37:05 -07:00
_stream_duplex.js stdio: Set readable/writable flags properly 2013-01-17 10:42:44 -08:00
_stream_passthrough.js stream: _write takes an encoding argument 2013-03-05 14:27:15 -08:00
_stream_readable.js stream: return this from pause()/resume() 2013-09-04 11:17:28 -07:00
_stream_transform.js stream: objectMode transforms allow falsey values 2013-09-05 13:19:23 -07:00
_stream_writable.js stream: change default hwm for objectMode to 16 2013-08-27 18:02:30 -07:00
_tls_legacy.js Merge branch 'v0.10' 2013-12-10 23:06:56 +04:00
_tls_wrap.js tls: reintroduce socket.encrypted 2013-12-21 01:03:05 +04:00
assert.js assert: indicate if exception message is generated 2013-10-11 10:15:03 -07:00
buffer.js buffer: optimize writeInt* methods 2013-12-21 01:01:17 +04:00
child_process.js child_process: better error reporting for exec 2014-01-09 00:00:30 +04:00
cluster.js cluster: do not synchronously emit 'setup' event 2013-12-31 11:43:44 -08:00
console.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
constants.js Update copyright headers 2011-03-14 17:37:05 -07:00
crypto.js crypto: introduce .setEngine(engine, [flags]) 2014-01-05 16:42:33 +04:00
dgram.js dgram: send() can accept strings 2013-10-28 16:18:18 -07:00
dns.js dns: add resolveSoa and 'SOA' rrtype 2013-12-31 14:30:40 -08:00
domain.js src: revert domain using AsyncListeners 2014-01-09 13:25:20 -08:00
events.js src: revert domain using AsyncListeners 2014-01-09 13:25:20 -08:00
freelist.js Update copyright headers 2011-03-14 17:37:05 -07:00
fs.js src: make buffer size errors more explicit 2013-11-15 11:48:08 -08:00
http.js http: expose supported methods 2013-10-28 13:35:34 +01:00
https.js lib: remove unused variables and functions 2013-08-15 17:19:17 -07:00
module.js Merge remote-tracking branch 'upstream/v0.10' 2013-12-12 11:32:41 -08:00
net.js src: revert domain using AsyncListeners 2014-01-09 13:25:20 -08:00
os.js lint 2013-03-28 13:19:08 -07:00
path.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
punycode.js lib: remove unused variables and functions 2013-08-15 17:19:17 -07:00
querystring.js querystring: remove `name` from `stringify()` 2013-12-30 11:41:37 -08:00
readline.js Merge remote-tracking branch 'upstream/v0.10' 2013-09-24 16:49:01 -07:00
repl.js Merge remote-tracking branch 'upstream/v0.10' 2013-11-18 13:41:17 -08:00
smalloc.js smalloc: check if object has external memory 2013-11-13 15:29:50 -08:00
stream.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
string_decoder.js Don't allow invalid encodings in StringDecoder class 2012-12-13 17:00:22 -08:00
sys.js Fix #3577 Un-break require('sys') 2012-06-28 10:14:03 -07:00
timers.js node: AsyncListener use separate storage mechanism 2014-01-09 13:47:03 -08:00
tls.js tls: emit 'end' on .receivedShutdown 2013-12-10 22:56:01 +04:00
tty.js lib: remove unused variables and functions 2013-08-15 17:19:17 -07:00
url.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
util.js Revert "util: more strict check for bool/number/string" 2013-12-20 13:44:56 -08:00
vm.js vm: update API to use options argument 2013-08-28 22:27:24 -07:00
zlib.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00