We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6c6fce commit 5aebc8dCopy full SHA for 5aebc8d
src/layout/mod.rs
@@ -58,6 +58,7 @@ impl Layout {
58
59
/// A simple "score" method which scores positive for preferring C-order, negative for F-order
60
/// Subject to change when we can describe other layouts
61
+ #[inline]
62
pub(crate) fn tendency(self) -> i32 {
63
(self.is(CORDER) as i32 - self.is(FORDER) as i32) +
64
(self.is(CPREFER) as i32 - self.is(FPREFER) as i32)
0 commit comments