Re: seeking highly efficient caches scheme for demanding engineering computing?



On Jul 27, 12:12 am, "Luna Moon" <spamt...@xxxxxxxxxx> wrote:
HI all,

To same the time of costly function evaluation, I want to explore the
possibility of caching.
Does anybody have good suggestions and pointers on this approach?

Thanks!

A great idea from the 60's. Google "memoization."

Gene

.



Relevant Pages

  • Re: CMap - can it do this?
    ... around operations on these cached objects, which I think you'd agree is ... This could be fixed by invalidating the cache when the collection is written ... If you mean to cache pointers to the key and value, ... different than caching a POSITION. ...
    (microsoft.public.vc.mfc)
  • Re: Most elegant way to read to allocatable array?
    ... generated code, that cached the translation. ... file handles tend to be pointers. ... in C. Caching copies of pointers is unsafe. ... the FILE struct. ...
    (comp.lang.fortran)