Closed Bug 590036 Opened 11 years ago Closed 10 years ago
Make eval(json-like string) fast for arrays too
If a string passed to eval starts with '[', it's reasonable to try the JSON parser. We did this for '(' in bug 578216.
We should work out the test failures in bug 578216 first, though!
This takes about 1/3 of the time and should be safe to do.
Attachment #578897 - Flags: review?(jorendorff)
Comment on attachment 578897 [details] [diff] [review] v1 Sure, ok.
Attachment #578897 - Flags: review?(jorendorff) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.