-
Recent Posts
Categories
- Android (15)
- Applications (9)
- Development (14)
- GLSL (2)
- Java (9)
- LibGDX (2)
- Math (5)
- Photography (1)
- Scala (3)
- Timelapse (1)
- Tips and Tricks (3)
Tags
Archives
Monthly Archives: December 2012
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