From: John Carter Date: 2006-03-31T15:30:15+09:00 Subject: Re: New Optimization idea. On Thu, 30 Mar 2006, Ryan Davis wrote: > Maybe it is just me, but I find your original code much easier to read and > intuitive than your second version. There is just too much wonky-thought > going on in the second version and it'll make it easy to get it wrong (esp if Like any optimization, premature, it's the root of all programming evil. In my case profiling showed up a case where I was starting to consume significant non-GC'able memory resources which were slowing the system as a whole. In this case it was worth it. In general, no. John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand Carter's Clarification of Murphy's Law. "Things only ever go right so that they may go more spectacularly wrong later." From this principle, all of life and physics may be deduced.