diff --git a/crates/typst/src/eval/plugin.rs b/crates/typst/src/eval/plugin.rs index 29ca79c0e..11576080e 100644 --- a/crates/typst/src/eval/plugin.rs +++ b/crates/typst/src/eval/plugin.rs @@ -195,6 +195,7 @@ impl Plugin { } /// Call the plugin function with the given `name`. + #[comemo::memoize] pub fn call(&self, name: &str, args: Vec) -> StrResult { // Find the function with the given name. let func = self