Commit 1219e746 authored by Brendan Ashworth's avatar Brendan Ashworth
Browse files

lib: reduce process.binding() calls

This commit better handles calls to process.binding() in lib/ by
no longer lazy loading the bindings (the load times themselves are
rather miniscule compared to the load time of V8) and never reloading
the bindings (which is 172 times slower than referencing a variable with
the same value).

PR-URL: https://github.com/iojs/io.js/pull/1367


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 69bc1382
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment