imageworks/Field3D — Issue #31: Investigate caching previously loaded fields
Author: magnusw
Created: 2011-11-19 00:28:39+00:00
State: open

We could keep weak_ptr's to loaded fields, and if a field is loaded a second time while the first is still in-memory, pointers would be returned rather than re-loading from disk. Using weak_ptr means fields still deallocate when they go out of scope.