prev was still slow, what if additionally I inline; if it's still slow, it's the futures::Either

This commit is contained in:
Christian Schwarz
2025-02-07 01:39:23 +01:00
parent b89bd691f6
commit fe9417c98c

View File

@@ -1313,6 +1313,7 @@ impl Drop for SmgrOpTimer {
}
impl SmgrOpFlushInProgress {
#[inline(always)]
pub(crate) async fn measure<Fut, O>(mut self, mut fut: Fut) -> O
where
Fut: std::future::Future<Output = O>,