Comment by Alifatisk Comment by Alifatisk 19 hours ago 1 reply Copy Link View on Hacker News It does look like it but procs encapsulates a block, but a block alone is not a proc
Copy Link kaiuhl 14 hours ago Collapse Comment - 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. Reply View | 0 replies
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.