diff options
| -rw-r--r-- | crates/typst/src/eval/plugin.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst/src/eval/plugin.rs b/crates/typst/src/eval/plugin.rs index 29ca79c0..11576080 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<Bytes>) -> StrResult<Bytes> { // Find the function with the given name. let func = self |
