From: Jens Axel Søgaard (jensaxel at soegaard.net) Date: Tue Dec 11 13:51:39 EST 2012 |
|
2012/12/11 Jens Axel Søgaard <jensaxel at soegaard.net>: I have just pushed an improvement for prime? on small numbers. Before: >> (time (for/sum ([n (in-range 1000000)] >> #:when (prime? n)) >> n)) >> >> ; cpu time: 8944 real time: 9079 gc time: 257 >> ; 37550402023 Now: cpu time: 1511 real time: 1541 gc time: 87 37550402023 https://github.com/plt/racket/commit/e5016951d06b87104317d4c0b499ddb769d24e20 -- Jens Axel Søgaard
Posted on the users mailing list. |
|