net.websocket.frames: Remove completed TODO
authorKim Alvefur <zash@zash.se>
Sat, 29 Jul 2023 01:42:19 +0200
changeset 13254 cfd062d025b0
parent 13253 5884d58707fa
child 13255 7748dfb201de
net.websocket.frames: Remove completed TODO The XOR is done in C since 4e5a2af9dd19
net/websocket/frames.lua
--- a/net/websocket/frames.lua	Wed Jul 26 14:39:36 2023 +0200
+++ b/net/websocket/frames.lua	Sat Jul 29 01:42:19 2023 +0200
@@ -77,7 +77,6 @@
 end
 
 -- XORs the string `str` with the array of bytes `key`
--- TODO: optimize
 local function apply_mask(str, key, from, to)
 	return sxor(str:sub(from or 1, to or -1), key);
 end