diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-09-07 16:21:47 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 16:21:47 +0530 |
commit | 027d4d433dce32a3b715184b54e7fe6403dedec2 (patch) | |
tree | dfd70be0537dd8defce5ef14eacfa57be222746d /core/ops_builtin_v8.rs | |
parent | d57f9d560d7b675bda3cf3ba0ac69201b73467b3 (diff) |
perf(ops): inline &[u8] arguments and enable fast API (#15731)
Diffstat (limited to 'core/ops_builtin_v8.rs')
-rw-r--r-- | core/ops_builtin_v8.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs index abdbdedc8..3900c0641 100644 --- a/core/ops_builtin_v8.rs +++ b/core/ops_builtin_v8.rs @@ -231,7 +231,7 @@ fn op_encode<'a>( #[op(v8)] fn op_decode<'a>( scope: &mut v8::HandleScope<'a>, - zero_copy: ZeroCopyBuf, + zero_copy: &[u8], ) -> Result<serde_v8::Value<'a>, Error> { let buf = &zero_copy; |