I didn't realise an if/else jump was more expensive than just an if jump.