So my quest to implement some "quick and easy" optimizations for one page on VNDB ended up in a C rewrite of a module that is widely used across the entire codebase. Was neither quick nor easy, but the wins are now measurable on nearly every page load. :blobcheer:
https://g.blicky.net/tuwf.git/commit/?id=47a5baeecadb11728d4e2d73454c9957e2231581
https://g.blicky.net/vndb.git/commit/?id=456ef9db0e2b3bc1ed5db34457e63120535821e6
(While that was fun, I really ought to start working on *useful* things again...)