optimize with SmallString; consolidate related re-exports
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
ecc9099127
commit
b872f8e593
39 changed files with 113 additions and 96 deletions
|
@ -64,6 +64,7 @@ pub async fn resolve_state(
|
|||
.multi_get_statekey_from_short(shortstatekeys)
|
||||
.zip(event_ids)
|
||||
.ready_filter_map(|(ty_sk, id)| Some((ty_sk.ok()?, id)))
|
||||
.map(|((ty, sk), id)| ((ty, sk.as_str().to_owned()), id))
|
||||
.collect()
|
||||
})
|
||||
.map(Ok::<_, Error>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue