def useDictCache(cache_max_size=0, **options): """ :param cache_max_size: The maximum number of cache entries to hold in memory Set the default factory to a new DictCachedSC2Factory with the given cache_dir. A limited number of remote resources are cached in memory for faster access times. """ setFactory(factories.DictCachedSC2Factory(cache_max_size, **options))
def useDictCache(cache_max_size=0, **options): setFactory(factories.DictCachedSC2Factory(cache_max_size, **options))