mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
chore(ops): update docs on fast calls (#15985)
This commit is contained in:
parent
5a1eb5d031
commit
61fc8bfcf4
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue