Posts

  • 7th December 2014

The folly of benchmarks

In my previous post The power of lazy sequences I fell in to a trap. A common trap, one which most of us fall, some of us quite regularly. I talk, of course, of trying to measure execution time. In my defence, given the context of that post, some kind of elapsed-time measuremen…

Read more 
  • 22nd March 2014

The power of lazy sequences

The selling-pitch for the concept of lazy evaluation includes the claim that they can, if used in the right way, improve performance. Indeed, the new Stream API in Java 8 vaguely references that laziness exposes "opportunities for optimisation". But how much effect can this have…

Read more