Optimize reference graph container value type for topological_sort.

Optimize initial container capacity estimates.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-02-14 10:23:47 +00:00
parent b7ea9714e8
commit 1bd4ab0601
15 changed files with 192 additions and 155 deletions

View File

@@ -53,9 +53,9 @@ type Pdu = (OwnedRoomId, OwnedEventId, CanonicalJsonObject);
level = INFO_SPAN_LEVEL,
skip_all,
fields(
%client,
origin = body.origin().as_str(),
txn = str_truncated(body.transaction_id.as_str(), 20),
origin = body.origin().as_str(),
%client,
),
)]
pub(crate) async fn send_transaction_message_route(
@@ -189,7 +189,7 @@ async fn handle_pdus(
#[tracing::instrument(
name = "room",
level = "debug",
level = INFO_SPAN_LEVEL,
skip_all,
fields(%room_id)
)]