On Thu, Jun 13, 2013 at 11:39 AM, Benjamin Fleischer <
notifications@github.com> wrote:

> That's a good point about lazy evaluation. I wish I understood better the
> cost of using blocks in different scenarios, such as this.


I've fiddled around with it a little bit, and it's not much. I prefer that
little bit of overhead to this case:

````ruby
h.fetch(:key, some_method())
````

Where `some_method` starts out trivial and then later on it becomes
expensive and/or adds side effects. Tracking down that kind of regression
is annoying.