From: Marcin Raczkowski Date: 2007-11-03T11:05:42+09:00 Subject: Re: ActAsHash Joel VanderWerf wrote: > Marcin Raczkowski wrote: >> self.instance_variable_get(("@"+index.to_s).to_sym) > > ISTR that "@"+index.to_s is slower than "@#{index}". i think concantation is faster then creating new one and i have no idea what ISTR mean > > Also, you don't need to call #to_sym. The string is enough. > yep that's true :) i didn't know that. thanks for fixes