Talk:Hofstadter Figure-Figure sequences: Difference between revisions

Content added Content deleted
m (→‎timings for the REXX solutions: changed IF statement to use short circuit. -- ~~~~)
m (→‎timings for the REXX solutions: expanded TIME argument. -- ~~~~)
Line 49: Line 49:
right('S('i") =",20) right(ffs(i),7) /* R & S */
right('S('i") =",20) right(ffs(i),7) /* R & S */
end /*i*/
end /*i*/
say 'took' format(time('E'),,2) "seconds."
say 'took' format(time('Elapsed'),,2) "seconds."
if x<1 then exit /*stick a fork in it, we're done.*/
if x<1 then exit /*stick a fork in it, we're done.*/
/*═══════════════════════════════════════verify 1st 1k: unique & present*/
/*═══════════════════════════════════════verify 1st 1k: unique & present*/