What are the performance characteristics and memory footprint one can
expect from Map Set?
I would like to point out that a lot of built-in features that V8 and other
JS VMs implement (e.g. Array.prototype.forEach) are never used because they
are perceived as slow (and they are actually slow for
With v8 for any JavaScript object foo, I can call:
for (var key in foo) {print(key+:+foo[key]);};
Is there a way for me to get a callback from the above for...in loop? In
other words, can I register an interceptor callback for the for..in access
of foo?
--
--
v8-users mailing list
The NamedPropertyEnumeratorCallback in
ObjectTemplate::SetNamedPropertyHandler() is your friend.
Best regards,
Michael
On Wed, May 7, 2014 at 10:59 PM, Jane Chen jxche...@gmail.com wrote:
With v8 for any JavaScript object foo, I can call:
for (var key in foo) {print(key+:+foo[key]);};
Is
O, got it! Will give it a try...
Thanks a lot!
On Wednesday, May 7, 2014 2:53:12 PM UTC-7, Michael Starzinger wrote:
The NamedPropertyEnumeratorCallback in
ObjectTemplate::SetNamedPropertyHandler() is your friend.
Best regards,
Michael
On Wed, May 7, 2014 at 10:59 PM, Jane Chen