Cost of `catch_unwind`
⚓ Rust 📅 2025-09-20 👤 surdeus 👁️ 9Can anyone explain to the the cost of catch_unwind on x86_64 and arm64 machines? Would it be fine to call on every poll of the average io bound Future? What about tight loops?
Does it bloat the abi of the function (like adding some other parameters etc), some instructions (hot/cold path?), or maybe it will just add something to .data?
1 post - 1 participant
🏷️ Rust_feed