upvote
Write your own kernel optimiser

(blog.csongor.co.uk)