On Jul 24, 2009, at 7:23 AM, Brian Barnes wrote:
This:
"
2) There's not currently a performance penalty for re-checking the
property name in the catchall getter that you currently have
available, because it gets called without JavaScriptCore doing a
property lookup first.
"
Pretty much changes everything for me. Now it's just code I have to
write instead of a possible spot of un-optimal code when "context"
switching between my code and the script engine. I think a way to
one-off way is still more desirable, but this removes my biggest fear.
I will say this though: in the future, defining setters for the class
will allow for greater optimization than is currently possible. So
it's definitely worth adding that API in due course.
Regards,
Maciej
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev