Sean Barrettnothings@mastodon.gamedev.place
Dec 1, 2026, 8:21 AM@pervognsen I'm not sure if I'd seen your shift-DFA gist before (and if I have, if I've already mentioned the following), but the reversal of transition[state][byte] to transition[byte][state] is mentioned pretty far down in my 2015 lexer writeup, except I mentioned it then skip right past it into a different optimization: http://nothings.org/computer/lexing.html