danlehmann / arbitrary-int

A modern and lightweight implementation of arbitrary integers for Rust
MIT License
31 stars 12 forks source link

Add inline to a few places #12

Closed hecatia-elegua closed 1 year ago

hecatia-elegua commented 1 year ago

where else would it make sense?

danlehmann commented 1 year ago

Did you ever see any difference with these? Not against it, just curious

hecatia-elegua commented 1 year ago

Since I'm using the From impls, it didn't inline those calls across the crate boundary into the code generated by bilge. This solved it. The other impls are just a line of code, so I added it there as well, I just left out the math ops :)