From: Robert H. <Rob...@gm...> - 2008-05-19 11:56:42
|
>> faster calc_energy: don't loop if there is a single line within the band How much difference in speed does this change make? Do you have any profile logs showing the effect? You know, it will make reading and understanding the code more difficult. If there is almost no speed increase, then we shouldn't do such optimizations. If it has a huge effect and is worth the code change, we should consider a similar optimization for the cases numlines[b] == 2 and 3 and 4 too. Ciao Robert |