https://bugzilla.wikimedia.org/show_bug.cgi?id=15402





--- Comment #23 from SharkD <[email protected]>  2008-12-28 05:24:04 UTC ---
(In reply to comment #17)
> BTW, an additional optimization would be to store |document| in a local
> variable if used more than once. It's almost guaranteed to need a security
> check at every access as a global property. And |this| is faster than |window|
> where they are equivalent (|window|, like |self|, is a self-reference).

Thanks for the tip.

-Mike


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to