summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-06-06 03:01:28 -0600
committerGitHub <noreply@github.com>2023-06-06 11:01:28 +0200
commit0bbdbace02d8b17a02bd3c631b82f508d0effa4a (patch)
tree836c1faac1dd7e1afc358255554f88e934f282be /ext/http/01_http.js
parent5c55f2b4fb9f386d5589e4cbd4c513ecb1bae50b (diff)
refactor(core): ensureFastOps is an op-generating proxy (#19377)
Startup benchmark shows no changes (within 1ms, identical system/user times).
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r--ext/http/01_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 92fd8e285..f9a8d2cdb 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -6,7 +6,7 @@ const core = globalThis.Deno.core;
const internals = globalThis.__bootstrap.internals;
const primordials = globalThis.__bootstrap.primordials;
const { BadResourcePrototype, InterruptedPrototype, ops } = core;
-const { op_http_write } = Deno.core.generateAsyncOpHandler("op_http_write");
+const { op_http_write } = Deno.core.ensureFastOps();
import * as webidl from "ext:deno_webidl/00_webidl.js";
import { InnerBody } from "ext:deno_fetch/22_body.js";
import { Event, setEventTargetData } from "ext:deno_web/02_event.js";