Updates:
Status: Accepted
Cc: [email protected]
Comment #1 on issue 2904 by [email protected]: Mix of integer and long
strings as property names severely degrades object iteration
http://code.google.com/p/v8/issues/detail?id=2904
All the time is spent in building snapshots of properties for enumeration
because we use linear search for deduplication (90% of time is spent in
HasKey function).
SpiderMonkey for comparison uses HashSet (see function Snapshot in
jsiter.cpp).
All functions that collect keys (e.g. Object.keys) would hit this issue so
there is no workaround.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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.