Re: how not use memmove when insert a object in the list
- From: "Fredrik Lundh" <fredrik@xxxxxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 12:56:22 +0200
"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>
.
- References:
- Re: resume picking items from a previous list
- From: James Stroud
- Re: resume picking items from a previous list
- Prev by Date: Re: ANN: Leo 4.4 rc1 released
- Next by Date: unable to resize mmap object
- Previous by thread: Re: how not use memmove when insert a object in the list
- Next by thread: Re: resume picking items from a previous list
- Index(es):
Relevant Pages
|