From 4c5e73c5fd02f617ea0d1569b8b248c24247411d Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 22 Sep 2022 14:36:57 +0530 Subject: chore(ops): update docs on fast calls (#15985) --- ops/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ops/README.md') diff --git a/ops/README.md b/ops/README.md index bd234f423..441b526ca 100644 --- a/ops/README.md +++ b/ops/README.md @@ -34,8 +34,9 @@ Cases where code is optimized away: The macro will infer and try to auto generate V8 fast API call trait impl for `sync` ops with: -- arguments: integers / `&mut OpState` -- return_type: integers +- arguments: integers, bool, `&mut OpState`, `&[u8]`, &mut [u8]`,`&[u32]`,`&mut + [u32]` +- return_type: integers, bool The `#[op(fast)]` attribute should be used to enforce fast call generation at compile time. -- cgit v1.2.3