Software /
code /
prosody
File
spec/scansion/basic.scs @ 13136:396db0e7084f
mod_storage_internal: Use a binary search for time based ranges
Iterating over an entire archive to find a few items in the far end from
where iteration started is expensive, and probably more expensive with
the lazy-loading of items added in the previous commit.
Since we can now efficiently read items in random order, we can now use
a binary search to find a better starting point for iteration.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 May 2021 01:32:03 +0200 |
parent | 9291:329a670ae975 |
line wrap: on
line source
# Basic login and initial presence [Client] Romeo jid: user@localhost password: password --------- Romeo connects Romeo sends: <presence/> Romeo receives: <presence/> Romeo disconnects