diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-06-06 03:01:28 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 11:01:28 +0200 |
commit | 0bbdbace02d8b17a02bd3c631b82f508d0effa4a (patch) | |
tree | 836c1faac1dd7e1afc358255554f88e934f282be /ext/websocket/01_websocket.js | |
parent | 5c55f2b4fb9f386d5589e4cbd4c513ecb1bae50b (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/websocket/01_websocket.js')
-rw-r--r-- | ext/websocket/01_websocket.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js index e71cae44a..01dd26579 100644 --- a/ext/websocket/01_websocket.js +++ b/ext/websocket/01_websocket.js @@ -57,14 +57,7 @@ const { op_ws_send_text, op_ws_next_event, op_ws_send_ping, -} = core.generateAsyncOpHandler( - "op_ws_create", - "op_ws_close", - "op_ws_send_binary", - "op_ws_send_text", - "op_ws_next_event", - "op_ws_send_ping", -); +} = core.ensureFastOps(); webidl.converters["sequence<DOMString> or DOMString"] = ( V, |