extract-word: Do not re-evaluate the state on each parsed character
Use inner loops to keep processing the same state, except when there is a state change, then break back to the outer loop so that the correct branch can be selected again. Tested that no regressions were introduced in test-extract-word.
Loading
Please register or sign in to comment