Closed Bug 550388 Opened 10 years ago Closed 10 years ago
_macosx _stack is very slow when given a long line of hyphens
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)
Comment on attachment 430501 [details] [diff] [review] patch r=dbaron
Attachment #430501 - Flags: review?(dbaron) → 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.