Mercurial > prosody-hg
diff spec/util_ringbuffer_spec.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 | f84e0e2faae2 |
| children | 2bcabbeac9b0 |
