Closed
Bug 550388
Opened 14 years ago
Closed 14 years ago
fix_macosx_stack is very slow when given a long line of hyphens
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: jruderman)
Details
Attachments
(2 files)
2.22 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
876 bytes,
text/plain
|
Details |
The regexp ^([ \|0-9-]*)(.*) ?\[... is very slow. I'm guessing this is due to regexp backtracking. It's slow enough that my scripts think Firefox is hanging when it's not. Here's one possible fix. It seems to fix the perf issue, and balance trees still look good.
Attachment #430501 -
Flags: review?(dbaron)
Assignee | ||
Comment 1•14 years ago
|
||
Comment on attachment 430501 [details] [diff] [review] patch r=dbaron
Attachment #430501 -
Flags: review?(dbaron) → review+
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → jruderman
Assignee | ||
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/659d517acd61
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
•