in reply to Re^3: Odometer pattern iterator (in C).
in thread Odometer pattern iterator (in C). (Updated.)
That works. But it's about 40% slower than the A::C version I nicked. 11 seconds instead of 8 for the 601 million 16 from 32:
[17:27:38.79] C:\test\humanGenome>junk 32 16 ^C [17:41:10.28] C:\test\humanGenome>junk 32 16 Iters:601080390 [17:41:17.49] C:\test\humanGenome>junk2 32 16 ^C [17:41:40.82] C:\test\humanGenome>junk2 32 16 Iters:601080390 [17:41:52.30] C:\test\humanGenome>
junk2 is your code adapted to count rather than print.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Odometer pattern iterator (in C).
by Anonymous Monk on May 29, 2015 at 23:02 UTC | |
by BrowserUk (Patriarch) on May 30, 2015 at 02:18 UTC | |
by Anonymous Monk on May 30, 2015 at 03:03 UTC | |
by BrowserUk (Patriarch) on May 30, 2015 at 08:13 UTC | |
by tybalt89 (Monsignor) on Dec 30, 2016 at 21:50 UTC | |
by Anonymous Monk on May 30, 2015 at 02:26 UTC |