Category Archives: Scala

Benchmarking Scala

Microbenchmarking is controversial as the following links show: Anatomy of a flawed microbenchmark Brian Goetz 2005 Java benchmarking article ellipticgroup 2009(?) How do I write a correct micro-benchmark in Java? stackoverflow 2009 Google Caliper … Nevertheless I did write a … Continue reading

Posted in Scala | Leave a comment

Scala for (i <- 0 to n) : nice but slow

I was playing around with prime numbers when I noticed that one of the implementations was several times faster than the other one. Benchmarking the two implementations soon showed that the differences lies mainly in using the nicer for (i

Posted in Development, Scala | Leave a comment

How Scala influenced my Java Programming

For a while I have been experimenting in my free time with Scala. While I don’t believe that I will use Scala at work in the near future I have nevertheless noticed that Scala has changed the way I think … Continue reading

Posted in Development, Java, Scala | Tagged , , , , , , , , | Leave a comment