The default mode of operation of track balances memory use and access times by keeping objects in memory for the duration of a top-level task, and flushing them out at the end of the task.
Three options (see track.options) control performance:
TRUE/FALSE should variables be cached at all?
tltPurge/none higher level
policy for maintaining cache
TRUE/FALSE should objects be
written after a change?
Useful possible combinations of settings are:
track.flush; write changed objects to disk immediately
track.flush; don't automatically write changed objects
to disk (use track.save)
Performance tuning is a possible area of future development of the
track package, at as version 0.9-9, the defaults settings of
cache=TRUE, cachePolicy="tltPurge", and
writeToDisk=TRUE work well. However, smarter caching based on
access patterns to objects is certainly possible.
track package.