[Mono-dev] dcraw.net performance

Andreas Nahr ClassDevelopment at A-SoftTech.com
Sun Dec 13 18:06:26 EST 2009


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-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Sam777
Gesendet: Sonntag, 13. Dezember 2009 20:47
An: mono-devel-list at 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-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Sam777
Gesendet: Sonntag, 13. Dezember 2009 20:47
An: mono-devel-list at 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:




More information about the Mono-devel-list mailing list