Closed Hywan closed 10 hours ago
Attention: Patch coverage is 85.08772%
with 17 lines
in your changes missing coverage. Please review.
Project coverage is 85.11%. Comparing base (
e5ca44b
) to head (c788221
). Report is 24 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
A
RelationalLinkedChunk
is like aLinkedChunk
but with a relational layout, similar to what we would have in a database.This is used by memory stores. The idea is to have a data layout that is similar for memory stores and for relational database stores, to represent a
LinkedChunk
.This type is also designed to receive
Update
. ApplyingUpdate
s directly on aLinkedChunk
is not ideal and particularly not trivial as theUpdate
s do not match the internal data layout of theLinkedChunk
, they have been designed for storages, like a relational database for example.This type is not as performant as
LinkedChunk
(in terms of memory layout, CPU caches etc.). It is only designed to be used in memory stores, which are mostly used for test purposes or light usages of the SDK.Must be merged after https://github.com/matrix-org/matrix-rust-sdk/pull/4299 as it contains its commits