Re: how not use memmove when insert a object in the list



"kyo guan" wrote:

for (i = n; --i >= where; ) /// here, why not use memmove? it would be more speed then this loop.
items[i+1] = items[i];

have you benchmarked this on a wide variety of platforms, or are
you just guessing?

</F>



.



Relevant Pages

  • A few testers needed
    ... I've written a graphics utility that needs testing on a variety of platforms, and since there are so many heavyweights who visit this NG I'd thought I'd try here first. ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Whats new in Tiburon
    ... really closures in that they capture their state. ... So guessing at the syntax a bit: ... Note that different platforms do variable capture differently. ...
    (borland.public.delphi.non-technical)
  • Re: C 99 compiler access
    ... > I have access to a wide variety of different platforms here at JPL ... > because of the lack of C 99 compliant compilers. ...
    (comp.lang.c)
  • Re: FileMaker 8 is out!
    ... XML is a widely accepted format across a large variety of platforms. ...
    (comp.databases.filemaker)
  • Cryptosoft
    ... containing code for most of the popular ciphers, for a variety of ... platforms (in their download section): ...
    (sci.crypt)