From: Justin Collins Date: 2006-07-29T07:14:06+09:00 Subject: Re: For performance, write it in C --------------010009000500050603060004 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Ashley Moran wrote: > On Thursday 27 July 2006 10:13, Ashley Moran wrote: > >>> Good luck. I recently got a Ruby program that aggregates several LDAP >>> directory-pulls with about a million entries down from a few hours to a >>> few seconds, without having to drop into C. It can be done, and it's >>> kindof fun too. >>> >> Next time I get a morning free I might apply some of the tweaks that have >> been suggested. Might be interested to see how much I can improve the >> performance. >> > > > > > One curious thing is that while the real time was about 50 mins, the user time > was only about 30 mins (negligible sys time if I remember). Not sure where > the other 20 mins has gone? > > Ashley > Disk I/O? Maybe? -Justin --------------010009000500050603060004--