Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid computing expensive default values when the value is overridden…
… anyways The most expensive call at the moment is repo.get_changed_files, which does down the drain if: - another default_fn overrides the value - an explicit override is given when creating the `Parameters` With this change, the default function can return a function as a value, which is not evaluated unless necessary. Fixes #616
- Loading branch information