Skip to content

Commit

Permalink
how does that even happen
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Mar 5, 2025
1 parent 1686bd8 commit 836fe4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symbolic-common/src/byteview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ pub enum AccessPattern {
/// Expect access to be random.
///
/// Read ahead might be less useful than normally.
Rnadom,
Random,
/// Expect access to be in sequential order, read ahead might be very useful.
/// After reading data there is a high chance it will not be accessed again
/// and can be aggressively freed.
Expand All @@ -314,7 +314,7 @@ impl AccessPattern {
fn to_madvise(self) -> memmap2::Advice {
match self {
AccessPattern::Normal => memmap2::Advice::Normal,
AccessPattern::Rnadom => memmap2::Advice::Random,
AccessPattern::Random => memmap2::Advice::Random,
AccessPattern::Sequential => memmap2::Advice::Sequential,
}
}
Expand Down

0 comments on commit 836fe4d

Please sign in to comment.