# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1690587739 -7200
# Node ID cfd062d025b0087bcba4ff4cb0e28b086068dd51
# Parent  5884d58707fac2af2a2bf4516e091217e6999b48
net.websocket.frames: Remove completed TODO

The XOR is done in C since 4e5a2af9dd19

diff -r 5884d58707fa -r cfd062d025b0 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