katmagic/Shallot — pull request #16 by ChrisCalderon (2013-11-29 08:06:21+00:00)
Title: Getting rid of int_pow.

I was browsing the source when I noticed int_pow. First, I didn't like that it uses the simple linear algorithm. Second, it is only used twice, in the thread file, and for computing powers of two. Why write a function to multiply a number by 2, n time, in a loop, when you could do a simple bitshift and assignment?