[Webkit-unassigned] [Bug 74708] Optimize access to block-scoped local variables
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 19 18:05:05 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74708
--- Comment #2 from Geoffrey Garen <ggaren at apple.com> 2011-12-19 18:05:04 PST ---
In-band signaling is error-prone. It's not great that you had to add an explanatory comment to every call site.
I'd prefer to see some refactoring here:
(1) Rename findScopedProperty to resolve;
(2) Change resolve to return an object, ResolveResult, describing what it found.
(3) Add "I found a block-scoped variable" as a feature to ResolveResult.
(4) Add optimizations to take advantage of (3).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list