Add the "memoize" attribute to the node macro (#4065)

* Add memoization attribute to node macro

* Fix memoization insertion for networks without conversion nodes
This commit is contained in:
Dennis Kobert authored and GitHub committed 2026-04-28 11:55:38 +00:00
1 parent 3eba762135
commit e0368435b9
6 files changed
+47 -6

No files matched your search

@@ -16,6 +16,7 @@ pub struct NodeMetadata {
pub description: &'static str,
pub properties: Option<&'static str>,
pub context_features: Vec<ContextFeature>,
pub memoize: bool,
}
// Translation struct between macro and definition