"krbyxtrm" <kr******@gmail.com> writes:
i have this profile for iterating empty vectors:
+0.3us (microsecond) delay on intel pentium 2.4Ghz
can this added delay to my application be reduced? i mean near zero
delay, its very important.
BTW, does anyone has another profile for this? thanks.
It's not at all clear what you're talking about. What do you mean by
"vector"? If you're referring to a "vector" as defined in the C++
standard library, you're in the wrong place; comp.lang.c++ is down the
hall, just past the water cooler, first door on the left.
If not, you're going to have to be more specific about what "iterating
empty vectors" means. A code sample (preferably a small and
self-contained one) would be helpful.
But keep in mind that the C standard says nothing about code
performance. It specifies what your program does, not how fast it
does it.
If you can show us a small complete program that depends only on
features defined by standard C, we might be able to offer some hints
on how to write it to be more efficient, but there are no guarantees.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.