mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
modules/client/sync/to_device: More efficient iteration seek.
This commit is contained in:
parent
80ecb903cc
commit
55fd9505bc
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ ircd::m::sync::to_device_polylog(data &data)
|
||||||
};
|
};
|
||||||
|
|
||||||
bool ret{false};
|
bool ret{false};
|
||||||
for(; it; ++it)
|
for(it.seek(data.range.first); it; --it)
|
||||||
{
|
{
|
||||||
const auto &event_idx(it.event_idx());
|
const auto &event_idx(it.event_idx());
|
||||||
if(!apropos(data, event_idx))
|
if(!apropos(data, event_idx))
|
||||||
|
|
Loading…
Reference in a new issue