From: matz@... Date: 2017-11-29T09:45:10+00:00 Subject: [ruby-core:83970] [Ruby trunk Feature#11256][Closed] anonymous block forwarding Issue #11256 has been updated by matz (Yukihiro Matsumoto). Status changed from Assigned to Closed As @mame stated, we don't need it after we had lazy `Proc` allocation. Matz. ---------------------------------------- Feature #11256: anonymous block forwarding https://bugs.ruby-lang.org/issues/11256#change-68038 * Author: bughit (bug hit) * Status: Closed * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- since capturing a block into a proc is slow: foo(&block) and creating chains of blocks is kind of ugly and ultimately also inefficient: foo{yield} why not allow block forwarding without capturing: foo(&) foo(1, 2, &) -- https://bugs.ruby-lang.org/ Unsubscribe: