mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 15:06:33 +01:00
f9014438c7
Change formatProperty in util.js to use Object.getOwnPropertyDescriptor instead of __lookup[GS]etter__. Use the cached value from the descriptor to reduce number of property lookups from 3 to 1. Fallback to standard lookup if the descriptor is empty. This doesn't ever happen with normal JS objects (this function is called only when the key exists) but apparently does with Node's custom ENV interface. Fixes: #2109. |
||
---|---|---|
.. | ||
_debugger.js | ||
_linklist.js | ||
assert.js | ||
buffer_ieee754.js | ||
buffer.js | ||
child_process.js | ||
cluster.js | ||
console.js | ||
constants.js | ||
crypto.js | ||
dgram.js | ||
dns.js | ||
events.js | ||
freelist.js | ||
fs.js | ||
http.js | ||
https.js | ||
module.js | ||
net.js | ||
os.js | ||
path.js | ||
punycode.js | ||
querystring.js | ||
readline.js | ||
repl.js | ||
stream.js | ||
string_decoder.js | ||
sys.js | ||
timers.js | ||
tls.js | ||
tty.js | ||
url.js | ||
util.js | ||
vm.js | ||
zlib.js |