julia
2e80c0d2 - Inline StepRange construction (#49270)

Commit
2 years ago
Inline StepRange construction (#49270) This can improve performance when iterating over a range with a step as currently steprange_last is not inlined. About a 12ns improvement I don't think this should slow anything down as at worst you're making a call which is what you'd have to do without inlining. Also, it should be unlikely that branch is taken. This should allow for better automatic inlining.
Author
Parents
Loading