All the integer overflow checks hurt. Removing them (unsafe in general, ok for this benchmark) makes it 1.27x faster.
The first three capacity checks on squidImageData[] are redundant w.r.t. the fourth. Removing those would help a little.
== imaging-darkroom ==