Posts
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…
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…
- ← Prev
- 2 of 2
- Next →