Re: Is memmove faster than a simple C loop ?
- From: jice <jice.nospam@xxxxxxxxx>
- Date: Wed, 16 Jul 2008 01:19:24 -0700 (PDT)
On 16 juil, 02:42, Joni Toivanen <jomio...@xxxxxxxxx> wrote:
jice wrote:
Ok here are the results.
[Snip the results]
Note that you can probably get much more accurate results if you use
something like the 'time' command on a Linux system (I'm sure there is
something similar for other operating systems too). It will measure the
actual time used by the program, and not the elapsed time (which is not
reliable, because your system might be doing something on the background
and skew the results).
Right, except that time will take the process start and the list
memory allocation into account. While it may not matter for the last
test, it could definitely screw the 10 000 and 100 000 insertions
tests as the difference between both tests is less than 1 sec.
--
jice
.
- References:
- The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jice
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: zaimoni
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jice
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jotaf98
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jice
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: stu
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jice
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jice
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: zaimoni
- Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- From: jice
- Is memmove faster than a simple C loop ?
- From: jice
- Re: Is memmove faster than a simple C loop ?
- From: Joni Toivanen
- The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- Prev by Date: Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- Next by Date: Re: The Doryen Library 1.3.2 + The Doryen Arena 0.7 released
- Previous by thread: Re: Is memmove faster than a simple C loop ?
- Next by thread: Re: Is memmove faster than a simple C loop ?
- Index(es):
Relevant Pages
|