Closed Bug 398310 Opened 18 years ago Closed 13 years ago

refactor state/backtrack management in Spidermonkey

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: crowderbt, Unassigned)

Details

What the jsregexp.c code calls a state stack isn't really that, isn't really treated like that, and shouldn't be called that. Also, a more intuitive data-structure for this will make the code cleaner and less fraught with peril. I propose a system of "state bins" to replace this stack-that's-not-a-stack, with some knowledge generated at expression-compile-time about how many of the current bins are valid (to be invalidated while backtracking, as well).
I shouldn't own this, dmandelin might want to take a look at it, or even resolve it INCO.
Assignee: crowder → general
The old JS regexp was removed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.