in reply to Why is this code so much slower than the same algorithm in C?
These are all excellent comments. Thank you all--this really helps me understand what is going on under the hood. I had no idea the bytecode had this much overhead.