summaryrefslogtreecommitdiff
path: root/src/sleep
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2015-11-05 21:51:24 -0800
committerFilipe Brandenburger <filbranden@google.com>2015-11-05 21:51:24 -0800
commit27fc921b658adc5baa988c4c213888b016a60b18 (patch)
tree426b33d9cad99e3f33104b5a5e1d6bffaf3ef446 /src/sleep
parent93de9eb76d628cf731120d97332e03600c167271 (diff)
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.
Diffstat (limited to 'src/sleep')
0 files changed, 0 insertions, 0 deletions