src: internalize per-isolate string properties
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 25 Sep 2015 09:54:21 +0000 (11:54 +0200)
committerRod Vagg <rod@vagg.org>
Wed, 30 Sep 2015 06:02:13 +0000 (16:02 +1000)
commitc8175fc2afc8cfbc5d1f4ef05c320799a2abe89f
tree1508cd298167404fa19ede267f85ea6932fe9bf6
parentac2bce0b0c91ba9fc593d8c53c68b42d3c1e4954
src: internalize per-isolate string properties

Speeds up property lookups a little and it creates the string in the
old space straight away.  It's a little easier on the garbage collector
because it doesn't have to track eternalized strings in the new space.

PR-URL: https://github.com/nodejs/node/pull/3060
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
src/env-inl.h
src/env.h