<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: spec/util_smqueue_spec.lua history</title>
    <description>spec/util_smqueue_spec.lua revision history</description>
    <item>
    <title>util.smqueue: Refactor checkpoint logic and add tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/73903352de86/spec/util_smqueue_spec.lua</link>
    <description><![CDATA[util.smqueue: Refactor checkpoint logic and add tests<br/>
<br/>
The previous checkpoint logic used recursion, and the code was more complex<br/>
than needed due to maintenance of the self._next_checkpoint field.<br/>
<br/>
This switches to a loop, which should be a bit more efficient, partly because<br/>
there are fewer calls (although it was a tail call) and because table lookups<br/>
can now be cached between each execution.<br/>
<br/>
_call_checkpoints() is now called unconditionally for every ack, which is<br/>
simpler though adds a function call, it should be more than balanced out by<br/>
the other changes.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 26 May 2026 15:36:36 +0100</pubDate>
</item>
<item>
    <title>util.smqueue: Improve tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/6163c8b17ea9/spec/util_smqueue_spec.lua</link>
    <description><![CDATA[util.smqueue: Improve tests<br/>
<br/>
Result of mutation testing. One mutant remaining.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 19 Oct 2022 14:34:41 +0200</pubDate>
</item>
<item>
    <title>util.smqueue: Simplify compat table, fix dependent modules (thanks Martin)</title>
    <link>http://hg.omfa.de/prosody-hg/log/4860da718e87/spec/util_smqueue_spec.lua</link>
    <description><![CDATA[util.smqueue: Simplify compat table, fix dependent modules (thanks Martin)<br/>
<br/>
There was an off-by-one in the modulo calculation. Switching to a plain<br/>
old array-table makes the apparent size of the queue wrong, but since<br/>
some of the queue may not be available this is likely for the best.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 16 Dec 2021 12:16:45 +0100</pubDate>
</item>
<item>
    <title>util.smqueue: Abstract queue with acknowledgements and overflow</title>
    <link>http://hg.omfa.de/prosody-hg/log/daced16154fa/spec/util_smqueue_spec.lua</link>
    <description><![CDATA[util.smqueue: Abstract queue with acknowledgements and overflow<br/>
<br/>
Meant to be used in mod_smacks for XEP-0198<br/>
<br/>
Meant to have a larger virtual size than actual number of items stored,<br/>
on the theory that in most cases, the excess will be acked before needed<br/>
for a resumption event.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 14 Dec 2021 19:58:53 +0100</pubDate>
</item>

  </channel>
</rss>
