Hacker News new | ask | show | jobs
by kaiuhl 247 days ago
That’s just a performance optimization because blocks are typically only invoked, not passed or otherwise manipulated. If you want to do anything with the block, you pay a tiny tax and have a Proc instance.