https://codereview.chromium.org/146623009/diff/60001/src/json.js
File src/json.js (right):

https://codereview.chromium.org/146623009/diff/60001/src/json.js#newcode218
src/json.js:218: // Replace with something better if this becomes a
bottleneck.
Just use an object to check properties; eg:
properties = {}; properties[key] = 1; replacer =
Object.keys(properties);

Use an array to keep the order if necessary.

https://codereview.chromium.org/146623009/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to