I pushed some more changes. -- All automata code is now in the automata modules. -- It is now easy to explore different implementations of automata.
1. Eliminating your last side-effects came for free or possibly a small gain in performance. 2. Replacing your list-based automata with automata that use a transition matrix was the real gain, but of course this transformation reduces generality. Right now, the code uses about 1/6 of the time your original program consumed. This measurement is extremely rough and probably wouldn't stand up to statistically rigorous methods. Close enough. I may try to add types later today. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.