[Webkit-unassigned] [Bug 19044] SquirrelFish: Bogus values enter evaluation when closing over scope with parameter and var with same name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 14 13:32:14 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19044





------- Comment #9 from ggaren at apple.com  2008-05-14 13:32 PDT -------
This algorithm is O(MxN), where M is the number of vars and N is the number of
parameters. We try really hard to avoid algorithms like that, even in code that
doesn't seem performance-critical, because such algorithms often come back to
bite us.

I would worry especially about pages generated by obfuscaters, cross-compilers,
and/or server-side scripts triggering pathological behavior at compile time.

If you want to go with the codegen solution, I think you should use a hashing
technique instead.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list