Split auth_chain shortid and eventid gathering callstacks.
Optimize event parse for auth_chain auth_events fetch. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::{borrow::Borrow, fmt::Debug, mem::size_of_val, sync::Arc};
|
||||
use std::{borrow::Borrow, mem::size_of_val, sync::Arc};
|
||||
|
||||
use futures::{FutureExt, Stream, StreamExt, pin_mut};
|
||||
use ruma::{EventId, OwnedRoomId, RoomId, events::StateEventType};
|
||||
@@ -61,7 +61,7 @@ pub fn multi_get_or_create_shorteventid<'a, I>(
|
||||
event_ids: I,
|
||||
) -> impl Stream<Item = ShortEventId> + Send + '_
|
||||
where
|
||||
I: Iterator<Item = &'a EventId> + Clone + Debug + Send + 'a,
|
||||
I: Iterator<Item = &'a EventId> + Clone + Send + 'a,
|
||||
{
|
||||
event_ids
|
||||
.clone()
|
||||
|
||||
Reference in New Issue
Block a user