mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 01:42:55 +00:00
prev was still slow, what if additionally I inline; if it's still slow, it's the futures::Either
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user