[Webkit-unassigned] [Bug 20261] Support Array and String generic shorthands

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 7 13:57:37 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=20261


Maciej Stachowiak <mjs at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjs at apple.com




--- Comment #7 from Maciej Stachowiak <mjs at apple.com>  2009-12-07 13:57:37 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> > - copy the relevant functions into a separate cpp, making them externs, and
> > then having ArrayPrototype and ArrayConstructor call into them?
> 
> This is what I would do but I would hope someone more senior to JSC could chime
> in.

In general this makes sense, but the extra level of function call overhead
could result in a measurable performance regression, so it may be necessary to
make the shared code inline.

My main concern about this feature would be whether we want to do something
nonstandard - it seems like no one, not even Mozilla, is really pushing this to
be in ECMAScript itself. Although we would consider just copying a Firefox
extension if it seemed like a really good idea.

-- 
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