Bug 17963 - math-partial-sums.js spends all its time looking up the Math object
Summary: math-partial-sums.js spends all its time looking up the Math object
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 01:48 PDT by Eric Seidel (no email)
Modified: 2011-09-06 23:04 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-03-20 01:48:12 PDT
math-partial-sums.js spends all its time looking up the Math object

At least I think that's the object it's looking up.  It sure is beating the darn global variable hash to death, regardless.

Maciej suggested that making Math and the global constructor objects ReadOnly and DontDelete like Mozilla has should help a lot.

This bug is requesting that we do just that. :)
Comment 1 Gavin Barraclough 2011-09-06 22:45:13 PDT
We did just that. :-) We actually need undo that for spec compliance at some point; but that's tangential, the problem this bug is tracking ("math-partial-sums.js spends all its time looking up the Math object") is not longer true.
Comment 2 Eric Seidel (no email) 2011-09-06 23:04:26 PDT
I love that you're finally resolving all these ancient JSC bugs of mine. :)