On Sunday, April 10, 2016 at 8:30:48 AM UTC-4, Fred wrote: > > my loop solution : > 0.000419 seconds (547 allocations: 708.797 KB) > 0.02000000000000135 -> 73 >
Probably you are doing this wrong; it shouldn't be allocating so much memory. Is your loop using global variables? Did you remember to time it twice (since the first time you call it there is compilation overhead.) Did you try the function Tim Holy posted?
