yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02650
Re: DISPATCH_CACHE ? useless ?
> ReHello,
> a new - very fast - question to make me more self-confident with C++ in
> general, and InteractionDispatcher in particular :
>
> - can I disregard the code of InteractionDispatchers.cpp lying under the
> else of
> #ifdef DISPATCH_CACHE
> ...
> #else
> .... (never used since here DISPATCH_CACHE will be always true)
> #endif
Yes, you are right. DISPATCH_CACHE originates from phase when I wasn't
sure if it will be useful, so I wanted to keep the possibility of using
old code just by un#defining it.
I will remove the unused part at some point.
Cheers, Vaclav
References