Add files via upload

Added a nother comparison.
This commit is contained in:
Andreas Olsson 2017-01-10 13:31:10 +01:00 committed by GitHub
parent 08d33691bb
commit 4889b5894c

View File

@ -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
]