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 <zdyu2000 / gmail.com> 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/.
>
>