From: Robert Klemme Date: 2008-03-31T22:59:35+09:00 Subject: Re: rexml to slow 2008/3/31, Bu Mihai : > Robert Klemme wrote: > > 2008/3/31, Bu Mihai : > >> and what do you recomand? > > > > ? I gave my recommendations already. You sure do not expect me to > > code that up for you, do you? > > No of course not, i meant what algorithm would u recomand and in what > would be better to implement it (any ruby gem?)... Ah, ok misunderstood you. Backtracking comes to mind. Before you change the algorithm you could start by creating few classes based on the info you have in the XML file and use those. I would have to think longer about this to come up with more profound suggestions. Cheers robert -- use.inject do |as, often| as.you_can - without end