diff -r f70d74fea67f -r 2a30c7dfe3ed progs/mandelbrot.sc --- a/progs/mandelbrot.sc Sun Sep 15 12:57:59 2024 +0100 +++ b/progs/mandelbrot.sc Mon Jul 21 16:38:07 2025 +0100 @@ -3,11 +3,13 @@ // // see https://en.wikipedia.org/wiki/Mandelbrot_set // -// You can run on the file one the commandline with +// You can run the file on the commandline with // // scala mandelbrot.sc // +// Or inside the REPL with // +// scala --extra-jars scala-parallel-collections_3-1.0.4.jar // // !! UPDATE ON TIMING: On my faster Mac-M1 machine // !! the times for the first example are ca. 4 secs for @@ -16,7 +18,6 @@ // for parallel collections //> using dep org.scala-lang.modules::scala-parallel-collections:1.0.4 -import scala.language.implicitConversions.* import scala.collection.parallel.CollectionConverters.* // for graphics @@ -177,7 +178,6 @@ exc2 - delta * n, 1000))} secs") - // Larry Paulson's example val exl1 = -0.74364990 + 0.13188170 * i val exl2 = -0.74291189 + 0.13261971 * i