This post originated from an RSS feed registered with Ruby Buzz
by Vincent Foley.
Original Post: Ruby blocks performance
Feed Title: Uncentered Mind
Feed URL: https://gnuvince.wordpress.com/feed/?cat=2
Feed Description: I ramble, you call me names, we have fun!
Don Box asks a question regarding Ruby blocks:
What’s the performance penalty for passing/calling a block vs. executing the code “directly” on the current frame? Does the cost go up/down if the block doesn’t reference any symbols in the enclosing frame? I know the answers for the CLR and C#, but I’m not sure [...]