Hi Luke, What are the result on lists of length 1000?
Also can you post the benchmarking code? /Jens Axel 2015-06-19 22:33 GMT+02:00 Luke Miles <rashreportl...@gmail.com>: > 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. > -- -- Jens Axel Søgaard -- 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.