What I find most interesting here is that the difference between yield and "inline" is this negligible, which explains why Ruby users are so enamored with the feature.
That stated, the runtime wonk in me would love for some Ruby expert out there to explain the underlying reasons why yield is so much faster than Proc.call.
I can guess, but I'd rather be told.
Don Box does some experimenting...
Recent comments
16 hours 41 min ago
12 weeks 1 day ago
12 weeks 1 day ago
12 weeks 3 days ago
12 weeks 3 days ago
13 weeks 1 day ago
13 weeks 1 day ago
13 weeks 1 day ago
16 weeks 1 day ago
17 weeks 4 hours ago