You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We know for sure this method cannot slice out-of-bounds because:
// * 0 ≤ self.pos ≤ 3
// * self.buf.len() = 4
//
// This way the slicing will always succeed, but LLVM is incapable of figuring out both
// these conditions hold, resulting in suboptimal code, especially after inlining,
// containing bound checks and unwinding support code.
Activity
durka commentedon Sep 9, 2016
Where are these comments from? Anyway, sounds like a case for the new panic-safe slicing stuff (#36340).
nagisa commentedon Sep 9, 2016
Here
nagisa commentedon Mar 12, 2017
Not applicable anymore, as a different approach is now used.