Wish: Variable Not Used Warning

Brad Roberts braddr at puremagic.com
Thu Jul 10 20:23:03 PDT 2008


Markus Koskimies wrote:
> On Thu, 10 Jul 2008 21:09:26 +0000, BCS wrote:
> 
>> one cases where the extra vars might be added is as padding for cache
>> effects.
> 
> ?!? You mean you use extra vars for making the cache to load the correct 
> one to a right cache line?
> 
> Sounds extremely silly to me!

For a good talk on just how important this can be, read the slides
and/or watch the video here:

    http://www.nwcpp.org/Meetings/2007/09.html

The memory latency and cache line behavior is covered towards the end.
The entire talk is really really good.  Parts of it talk about another
issue that's come up on these newsgroups more than once, instruction and
memory ordering within concurrent applications.

Later,
Brad



More information about the Digitalmars-d mailing list