Your CPU vs your code. Two short lessons in software performance