[Webkit-unassigned] [Bug 31756] getter/setter performance is much worse then a function call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 25 21:54:55 PST 2009


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





--- Comment #3 from Oliver Hunt <oliver at apple.com>  2009-11-25 21:54:55 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > Accessor properties are uncachable.  I have filed a bug on this before.  But
> > accessors are also basically a  bad thing, irrespective of performance.
> 
> Why is this the case?

We can cache the lookup, but we need to make a call -- the memory cost of
planting sufficient logic to handle this is substantial.  However Gavin and I
have been thinking of a way to rectify this.

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