Hi Marcel, One potential difference is that we optimize the second case. The optimizing compiler does not (yet) optimize for...in.
Another difference is that for...in is complicated, not just by searching the prototype chain, but also by having to cope with deleted properties. So we have to 'lazily' generate the properties, still preserving their order. -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
