In trying to get ready for release, I found lots of little gremlins, born out of the way any project grows organically. As part of refactoring, I managed to find several noticeable speedups and quality improvements :)
This is one of the areas where AI shines, let it critique your code base and build you a prioritised list (ideally markdown) of things to fix. Then you iterate with it on the list :)