Comment #70 on issue 235 by [email protected]: Support the Javascript
E4X extension
http://code.google.com/p/v8/issues/detail?id=235
Speaking from extensive experience with E4X in AS3 i say it works pretty
awesomely, way better then any other way. It totaly fits javascript,
compare DOM? Xpath? sax/callbacks? all way to much complication for what
you really need: easy controlled access without.
Im on nodejs now after rhino and I'm amazed they have it and V8 not. Please
get this done it's keeping the whole train lagging. So what that it's not
in spec this or whatever, it's so usefull.
Works great with for each loops too btw (hint hint), save lots of function
calls vs Array.each's way on every item.
for each(var node in data.news.item)
{
log(node.@name +': ' + node.text();
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev