Software /
code /
prosody
Comparison
CHANGES @ 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 | 13127:f45a29b32f7a |
child | 13188:96df571b5941 |
comparison
equal
deleted
inserted
replaced
13135:3fd24e1945b0 | 13136:396db0e7084f |
---|