Re: Fastest way to read numbers in ascending order from array of i

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Srini" <Srini@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0516D532-0ADF-4762-9B27-8A34E55FE02E@xxxxxxxxxxxxxxxx
How do I control the cache utilization, prereading etc through my program
and
how do I veryify that it is using it correctly?

In the first place, you don't worry about it. If you're only
sorting/accessing a list of 10 or so items, you have nothing to worry about
with regard to cache issues.

When profiling your application shows you conclusively that you have a
performance issue that might be improved by careful consideration of cache
issues, then you worry about it - but seriously, the time to sort 10 items
by the worst sort imaginable is only a few microseconds - if that.

-cd


.



Relevant Pages

  • Re: /var got really big
    ... Others have suggested you clean the apt cache. ... apt-cacher cache rather than have to download the same packages as your ... LVM makes shrinking or expanding filesystems much easier. ... still have plenty of free space on /var so you don't have to worry for ...
    (Ubuntu)
  • Re: [PATCH 1/3] Fix COW D-cache aliasing on fork
    ... Not worry about D$ at _all_ when doing the actual fork, ... about it on an actual COW event. ... And if that cache gets written back at some point, ...
    (Linux-Kernel)
  • Re: Handling large record sets in JDBC/web app
    ... worry about clearing it out. ... Use randomly addressable ResultSet and a "look ahead" paginator ... behavior if the source tables are changing between fills of the cache. ...
    (comp.lang.java.databases)
  • Re: Embedded software interview question collection
    ... volatile really does and because of this the new piece of hardware they ... have released witb an embedded processor does not work if the cache is ... And how would the compiler do this? ... On the other hand, if you only worry about different threads, you do not ...
    (comp.arch.embedded)
  • Re: prescott
    ... mad wrote: ... > Cache size 1MB ... See this MS Knowledge Base Article. ... Don't worry how it's titled. ...
    (microsoft.public.windowsxp.general)