From 4889b5894cf72c21fef09c3b47633593e24e5988 Mon Sep 17 00:00:00 2001 From: Andreas Olsson Date: Tue, 10 Jan 2017 13:31:10 +0100 Subject: [PATCH] Add files via upload Added a nother comparison. --- pmap.scrbl | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pmap.scrbl b/pmap.scrbl index 036f0b6..0c37bbf 100644 --- a/pmap.scrbl +++ b/pmap.scrbl @@ -55,14 +55,20 @@ pmapp shows it strength in heavyer calcullations like mandelbrot, see the compar >'(2.0 4.0 6.0) ] +The place file has racket/base, racket/fixnum and math required. + @section{Comparison} An comparison calcullating two mandelbrot's: @racketblock[ - "(10000001 10000001) (4976.39990234375 ms)" ;map - "(10000001 10000001) (4196.400146484375 ms)";pmapf - "(10000001 10000001) (1840.7998046875 ms)" ;pmapp - ] - - + "(10000001 10000001) (4976.39990234375 ms)" ;map + "(10000001 10000001) (4196.400146484375 ms)";pmapf + "(10000001 10000001) (1840.7998046875 ms)" ;pmapp +] +An comparison calcullating four mandelbrot's, with flonum: +@racketblock[ + "(10000001 10000001 10000001 10000001) (9752.256591796875 ms)";map + "(10000001 10000001 10000001 10000001) (8613.47607421875 ms)" ;pmapf + "(10000001 10000001 10000001 10000001) (1887.66064453125 ms)" ;pmapp +]