Anyone interested in the Sawtooth router: here's the PR. https://github.com/pedestal/pedestal/pull/868 I might look to improve performance further in future updates, if I can find a way to do so. The problem with my solution may be that it negates CPU instruction locality since it keeps jumping to new functions with their own code rather than looping through a single function.