BTW: The code could likely be speed up considerably by using unsafe code with pointers. Using tons of array accesses is always going to have a decent overhead (for added protection). ABC-removal is only going to be working up to a certain point.
But on the other hand if you feel that it's fast enough already... Happy Hacking Andreas -----Ursprüngliche Nachricht----- Von: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] Im Auftrag von Sam777 Gesendet: Sonntag, 13. Dezember 2009 20:47 An: mono-devel-list@lists.ximian.com Betreff: [Mono-dev] dcraw.net performance Hi, We've ported a large part of http://www.cybercom.net/~dcoffin/dcraw/ dcraw to C# (enough to convert several Canon cameras) - https://sourceforge.net/projects/dcrawnet/ https://sourceforge.net/projects/dcrawnet/ . As expected for image processing code, this is slower than the original C implementation but we've managed to claw some performance back by making it easier for the JIT to optimise bounds checking. Interestingly, Mono didn't get quite as much of a boost from this as the MS implementation: -----Ursprüngliche Nachricht----- Von: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] Im Auftrag von Sam777 Gesendet: Sonntag, 13. Dezember 2009 20:47 An: mono-devel-list@lists.ximian.com Betreff: [Mono-dev] dcraw.net performance Hi, We've ported a large part of http://www.cybercom.net/~dcoffin/dcraw/ dcraw to C# (enough to convert several Canon cameras) - https://sourceforge.net/projects/dcrawnet/ https://sourceforge.net/projects/dcrawnet/ . As expected for image processing code, this is slower than the original C implementation but we've managed to claw some performance back by making it easier for the JIT to optimise bounds checking. Interestingly, Mono didn't get quite as much of a boost from this as the MS implementation: _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list