Re: I need the fastest routine



Stig,

| Since this apperently is performance critical, he could also just use a
| pointer, something like this:
| ...
| Then he can avoid the overhead of function calls with the min and max
| functions.

Good idea!

--
Q

07/05/2008 10:23:27

XanaNews Version 1.17.5.7 [Q's Salutation mod]
.



Relevant Pages

  • Re: Garbage collectable pinned arrays!
    ... The OP is measuring the overhead of a GCHandle.Alloc, ... exactly what is done by GCHandle.Alloc with GCHandleType.Pinned, that's why he is measuring this methods overhead. ... But interop doesn't pin implicitely, it pins the arguments when needed. ... "Pointer Table" together with some ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is it legal to type cast to DWORD* ???
    ... it should be exactly 4096 bytes in size to avoid misaligned ... When preparing a packet to be sent sometimes the unsigned char ... > I don't know, you haven't provided a definition of the type DWORD, ... as value of pointer itself is not chaged. ...
    (comp.lang.cpp)
  • Re: A garbage collector for C++
    ... Support C++ raw pointer, unions, bit-fields and hidden pointers. ... Even conducting an accurate tracing, ... synchronization overhead. ... doing that incur the overheads of both tracing and reference counting. ...
    (comp.programming.threads)
  • Re: Ancient history
    ... If a pointer holds origin, ... into one allocation into a pointer into another. ... where languages like Fortran 77 can have reliable ... the situation in C is such that the overhead is generally log ...
    (sci.crypt)
  • Re: whats meaning of this ?
    ... scope (say a loop) declared at the top of a function in C89 code. ... Maybe to avoid the overhead of function calls. ...
    (comp.lang.c)