I timed all these with `sqr` on a list of 10000 `(random)`. Luke's (my) first one: cpu time: 4706 real time: 4699 gc time: 3673
Luke's second one: cpu time: 5401 real time: 5393 gc time: 4136 Jon's first one: cpu time: 9734 real time: 9728 gc time: 8007 Jon's second one (tested on a vector of course): cpu time: 1198 real time: 1195 gc time: 883 Jens' first one: cpu time: 5622 real time: 5618 gc time: 4800 Jens' second one: cpu time: 4393 real time: 4391 gc time: 3935 I thought Jens' second one would be faster. The vector's results are promising. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.