Can you give me a more complex example? Say I want to speed up the sieve of Eratosthenes.