view util/bit53.lua @ 11711:6fbbfa4a1178

MUC: Skip adding to history when it's set to zero Optimizes away all the processing on every message in case the end-result is zero history.
author Kim Alvefur <zash@zash.se>
date Mon, 19 Jul 2021 17:07:59 +0200
parents 48f7cda4174d
children d77d8fba44ad
line wrap: on
line source

-- Only the operators needed by net.websocket.frames are provided at this point
return {
	band   = function (a, b) return a & b end;
	bor    = function (a, b) return a | b end;
	bxor   = function (a, b) return a ~ b end;
};