[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:38:55 PDT 2008


------- Comment #10 from cwzwarich at uwaterloo.ca  2008-05-14 13:38 PDT -------
(In reply to comment #9)
> 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.

Yeah, I was worried about that. I guess it makes more sense to with the local
storage resizing, at least for now. Is it always going to be correct?

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