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/02_websocketstream.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/02_websocketstream.js')
-rw-r--r-- | ext/websocket/02_websocketstream.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/websocket/02_websocketstream.js b/ext/websocket/02_websocketstream.js index 2c5df262a..00d5bdaec 100644 --- a/ext/websocket/02_websocketstream.js +++ b/ext/websocket/02_websocketstream.js @@ -39,13 +39,7 @@ const { op_ws_next_event, op_ws_create, op_ws_close, -} = core.generateAsyncOpHandler( - "op_ws_send_text", - "op_ws_send_binary", - "op_ws_next_event", - "op_ws_create", - "op_ws_close", -); +} = core.ensureFastOps(); webidl.converters.WebSocketStreamOptions = webidl.createDictionaryConverter( "WebSocketStreamOptions", |