On 12/28/12 12:31 PM, Boris Zbarsky wrote:
When we have gets through a proxy down in the 20-30 cycle range on
modern hardware, I'm happy to talk about proxies performance-wise.  ;)

One other note. I'm somewhat sympathetic to the argument that the spec could describe things as proxies while actual implementations then implement them however the heck they want under the hood. But that does involve each implementation then going through and creating yet another kind of thing internally which is not a proxy so it can be optimized sanely but still has some sort of behavior that isn't describable by normal getters/setters or normal value properties, so it's actually more implementation complexity than what WebIDL has right now, as far as I can tell.

And possibly more specification complexity too. For example, right now WebIDL doesn't have to define what happens when you try to delete DOM properties, because it's obvious, but once you try to use a proxy you have to define that sort of thing.

-Boris
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to