generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor: output signals to emission Wrap them in `emit()` and `emitting_channels` instead of manually calling them. This lets us tighten up If-like nodes too. * Introduce caching To shortcut actually running a node and just return existing output if its cached input matches its current input (by `==` test) * Extend speedup test to include caching * Add docstring * Expose use_cache as a class attribute So it can be set at class definition time, even by decorators * Discuss caching in the deepdive * Format black --------- Co-authored-by: pyiron-runner <[email protected]>
- Loading branch information
1 parent
ddc1b1e
commit 41d8d42
Showing
11 changed files
with
1,154 additions
and
863 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.