Comment #3 on issue 1800 by [email protected]: Wanted: Efficient way to count the number of properties in an Object
http://code.google.com/p/v8/issues/detail?id=1800

To clarify my last comment... obviously `Object.keys(obj)` runs in linear time, but if the user is only interested in `Object.keys(obj).length`, rather than running `Object.keys(obj)` followed by the `.length`, just optimizing the statement to get the number of keys in `obj`. Hopefully, that makes more sense.

--
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.

Reply via email to