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
|
The macro will infer and try to auto generate V8 fast API call trait impl for
|
||||||
`sync` ops with:
|
`sync` ops with:
|
||||||
|
|
||||||
- arguments: integers / `&mut OpState`
|
- arguments: integers, bool, `&mut OpState`, `&[u8]`, &mut [u8]`,`&[u32]`,`&mut
|
||||||
- return_type: integers
|
[u32]`
|
||||||
|
- return_type: integers, bool
|
||||||
|
|
||||||
The `#[op(fast)]` attribute should be used to enforce fast call generation at
|
The `#[op(fast)]` attribute should be used to enforce fast call generation at
|
||||||
compile time.
|
compile time.
|
||||||
|
|
Loading…
Reference in a new issue