non/spire — pull request #76 by joshmarcus (2013-02-20 19:12:48+00:00)
Title: Add cfor benchmarks that update an array.

This pull request adds a set of basic benchmarks that updates each element
in an array after multiplying the current value by 2.

This benchmark was added to replicate an external spire benchmark in
which cfor seemed to be slower than while. The benchmark results,
however, vary enough to be inconclusive at this point. For example,
in the case where n = 1m (as in this benchmark), the 'while' case
on my machine varies between 3-4.5ms and the tailrec & cfor benchmarks
vary between 4-6 ms.