I wrote about my discoveries with false optimisation yesterday in the context of a fast, low-memory character encoding detector I’d written. I promised to release the code soon, and I’ve now done so.

I’ve written a little about the program on reevoolabs, or you can get the code directly from GitHub in my detenc project.