From: David Vallner Date: 2006-02-16T09:23:11+09:00 Subject: Re: Rescuing blocks? Dňa Streda 15 Február 2006 20:03 Dave Cantrell napísal: > On a lark, I did this, and was shocked at the result. Why the massive > difference in performance between "begin; end" within a block, and "{ }" > within a block? > Because it's a literal hash constructor, not a nested block? On a slightly related note, the literal hash constructor is apparently faster than Hash.new. Good to know. David Vallner