From: Stu Date: 2011-05-12T15:55:32+09:00 Subject: Re: how to make eval() faster? I was going to suggest a creating a tmp file with a generator. create a sort of cached methods type thing. This may fix your issue. On Thu, May 12, 2011 at 1:37 AM, Zd Yu wrote: > I just came up with an idea: I can parse the XML configuration file and > generate a .rb file on the fly then invoke the rb file. > > Although it brings much extra efforts, it can fix the performance issue. > > -- > Posted via http://www.ruby-forum.com/. > >