Skip to content

Commit d73ace4

Browse files
authored
Remove prefetching import (#24)
Removed an unused `prefetching` import (the feature no longer exists).
1 parent 9b970ca commit d73ace4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/bfield.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ impl<T: Clone + DeserializeOwned + Serialize> BField<T> {
2929
/// [parameter selection notebook](https://github.com/onecodex/rust-bfield/blob/main/docs/notebook/calculate-parameters.ipynb)
3030
/// for helpful guidance in picking optimal parameters.
3131
/// - `size` is the primary `BField` size, subsequent `BField` sizes will be determined
32-
/// by the `secondary_scaledown` and `max_scaledown` parameters
32+
/// by the `secondary_scaledown` and `max_scaledown` parameters
3333
/// - `n_hashes`. The number of hash functions _k_ to use.
3434
/// - `marker_width` or v (nu). The length of the bit-string to use for
3535
/// - `n_marker_bits` or κ (kappa). The number of 1s to set in each v-length bit-string (also its Hamming weight).
3636
/// - `secondary_scaledown` or β (beta). The scaling factor to use for each subsequent `BField` size.
3737
/// - `max_scaledown`. A maximum scaling factor to use for secondary `BField` sizes, since β raised to the power of
38-
/// `n_secondaries` can be impractically/needlessly small.
38+
/// `n_secondaries` can be impractically/needlessly small.
3939
/// - `n_secondaries`. The number of secondary `BField`s to create.
4040
/// - `in_memory`. Whether to create the `BField` in memory or on disk.
4141
#[allow(clippy::too_many_arguments)]

src/bfield_member.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
use std::cell::UnsafeCell;
22
use std::cmp::Ordering;
3-
#[cfg(feature = "prefetching")]
4-
use std::intrinsics;
53
use std::io;
64
use std::path::{Path, PathBuf};
75

0 commit comments

Comments
 (0)