Closed Bug 347270 Opened 18 years ago Closed 12 years ago

toString on deeply nested e4x object is very slow

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: hang, testcase)

Attachments

(1 file)

toString on deeply nested e4x object is very slow and RAM-hungry. With a nesting level of only 1000, it makes my machine thrash pretty badly. The string returned has length of order n^2 due to indentation increasing with nesting level, but I'm not sure that accounts for all the slowness.
Attached file testcase
Blocks: e4x
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100503 Firefox/3.6.4 Still happening in Fx 3.6.4.
e4x is pref'd off in content
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: