From: Todd N. <to...@gm...> - 2005-02-14 13:46:11
|
That sounds great, I'm going to try to get some time to take a close look at it. > Todd Neal <to...@gm...> wrote on Thu, 10 Feb 2005 09:24:03 -0600: > > > I also modified the special cases so that it doesn't rely on rot90 > > Why? rot90 does exactly what's needed here. My code uses it happily. I used array indexing and transposing to achieve the 90,180, and 270 degree rotations. This effectively saved a function call to rot90. I haven't done any benchmarks but just assumed it would be quicker this way. Todd |