From: Peter Giacomo Lombardo Date: 2013-07-18T02:12:42+09:00 Subject: Re: Kernel.caller Performance Across Different Ruby Versions Eric Wong wrote in post #1115676: > Optimizing data structures (to compact byte code) to speed up common > operations, but makes uncommonly-accessed information (file names, line > numbers) more expensive to access. > > I think it's a fair trade to make, caller should not be a > frequently-called method. > > Btw, same idea applies to database design, creating indexes will speed > up some operations at the expense of others. Agreed and understood. My intention was just to identify the cost and confirm that I wasn't missing something simple. Thanks for the info! -- Posted via http://www.ruby-forum.com/.