@capital @neauoire It's possible to reduce this even further. I hypothesize rewrite cycles on the order of 100ns on average.
Given that the entire rewrite loop has a timing range in the microseconds, that puts the C implementation of #modal on par with Python and other bytecode VMs with optimized dispatch.
Rewriting is a powerful paradigm. This language can be pushed even further and further.
And we're not even close to the limit.