Closed
Bug 590036
Opened 16 years ago
Closed 14 years ago
Make eval(json-like string) fast for arrays too
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: evilpies)
References
Details
Attachments
(1 file)
|
3.19 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
If a string passed to eval starts with '[', it's reasonable to try the JSON parser. We did this for '(' in bug 578216.
Comment 1•16 years ago
|
||
We should work out the test failures in bug 578216 first, though!
| Assignee | ||
Updated•14 years ago
|
Assignee: general → evilpies
| Assignee | ||
Comment 2•14 years ago
|
||
This takes about 1/3 of the time and should be safe to do.
Attachment #578897 -
Flags: review?(jorendorff)
Comment 3•14 years ago
|
||
Comment on attachment 578897 [details] [diff] [review]
v1
Sure, ok.
Attachment #578897 -
Flags: review?(jorendorff) → review+
| Assignee | ||
Comment 4•14 years ago
|
||
| Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•