[Webkit-unassigned] [Bug 20589] PropertyMap speedup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 16:39:17 PDT 2008


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





------- Comment #25 from ggaren at apple.com  2008-09-08 16:39 PDT -------
> +#if DUMP_PROPERTYMAP_STATS
> +        static int numLookupHits;
> +#endif
> 
> This change is invalid, since it will increase the size of a JavaScript object,
> which has a fixed size limit. I'm surprised that JavaScriptCore still builds
> with this change applied -- we have compile-time ASSERTs that should cause a
> build failure.

Oops!

I see now that numLookupHits is static, so it won't increase the object size.
I'd still recommend moving it to the .cpp file, to match numLookupMiss, though.


-- 
Configure bugmail: https://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