Re: C# very optimisation



Lebesgue a écrit :
When talking about image processing, a VERY big performance bonus can be
gained when using unmanaged (unsafe) code and pointers. I remember an
article saying unmanaged image processing can be up to 28 times faster than
managed.
Here it is
http://tinyurl.com/3sux8


Thank you, i already use unsafe for my processing of course but i would like to know more about little optimisations now (juste like "++i" instead of "i++")


but i will read MSDN's unsafe image processing page because i never saw it before =)
.




Relevant Pages

  • Re: C# very optimisation
    ... When talking about image processing, a VERY big performance bonus can be ... gained when using unmanaged (unsafe) code and pointers. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Unsafe Compile Errors
    ... The real use would be in an image processing application I am working on. ... the pixel data is currently stored in a managed two dimensional int array. ... A colleague of mine suggested I look into unsafe for performance gains in accessing the pixel data. ... fixed int test; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What will be the next MAJOR programming language for commercial use?
    ... This probably means that D is unsafe. ... > less safe, and there is no obvious dividing line between the two. ... It happens that most languages with GC are safe or almost safe. ... > for pointers much less than in, say, C, so one rarely has to deal ...
    (comp.lang.misc)
  • Re: Unsafe lack of pointers in C#?
    ... Pointers can be used in unsafe code blocks from C#. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Access to driver memory using c#
    ... if you need the unmanaged data to be available as a managed type ... To do this in C# you have two options, or you can use unsafe code pointers, ...
    (microsoft.public.dotnet.languages.csharp)