Related to my other email... another thing that would allow us to do a LOT
of optimization is if we had a free void pointer on DofObject.  This would
allow us to attach any kind of data structure we want for caching
computations on DofObject (for instance: caching the value of shape
functions at the quadrature points!).

I see this as a compile time option (that is off by default) because it
obviously adds a bit of memory overhead.

Note: for the kinds of optimizations I'm talking about I don't even want a
log(n) lookup in a map or the complexity of a hash computation for a
hash-map.  I really want a (nearly) instantaneous access to a cached data
structure.

Any opinions?

Derek
------------------------------------------------------------------------------
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to