Disable caching for discretizations by default #178
Closed
Milestone
Comments
Sounds good. I'm a little concerned if anybody new will do/find that though. |
At least, we could add an option to the demos .. |
I like that. |
So, in view of #179, one would write discretization.enable_caching(region='disc') to enable caching and discretization.disable_caching() or discretization.enable_caching(region=None) to disable caching again? |
Yes, but I would write: discretization.enable_caching('disk') |
Done in 4c67dd7. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the default cache region for discretizations in
pymor.discretizations.basic
is'disk'
. I propose to change this toNone
. IMHO, pyMOR should behave as reproducible as possible by default. Having persistent cache entries on disk will change timings in subsequent runs. Moreover, first time users will probably be surprised that pyMOR dumps up to 1GB of data to disk. Re-enabling caching will be as simple as writingAny objections?
The text was updated successfully, but these errors were encountered: