Went through a ton of Lint optimisations until I got bored. I'll do some more later