rust-bitcoin-unsafe-fast/primitives/src/script
Martin Habovstiak 0567e6fe1d Put `#[inline]` on most `Script{Buf}` methods
These methods are either newtype casts that should compile to no-ops or
directly calling into some other function with at most some pointer
adjustments. As such making them `#[inline]` is definitely benefitial.
There are also methods that check length and then call some other
function. These are also worth inlining since the length could be known
at compile time and the check could be eliminated.
2025-02-20 16:18:21 +01:00
..
borrowed.rs Put `#[inline]` on most `Script{Buf}` methods 2025-02-20 16:18:21 +01:00
mod.rs Put `#[inline]` on most `Script{Buf}` methods 2025-02-20 16:18:21 +01:00
owned.rs Put `#[inline]` on most `Script{Buf}` methods 2025-02-20 16:18:21 +01:00