Nov. 18, 2014
9:28 p.m.
Am 18.11.14 22:12, schrieb phil@highoctane.be:
See https://news.ycombinator.com/item?id=8625280
[ (1 to: 100000000) sum ] timeToRun
Here we get out of the SmallInteger range...
Apart FFI'ing the thing, do we have other options?
Phil Choose a better algorithm: [100000000 * 10000001 / 2] timeToRun should beat yours by several orders of magnitude.
Andreas