Use uniform biases in AnchorMap, AnchorRangeMap
Specifying a different bias for every point makes the interface feel pretty unwieldy and we don't really use it.
This commit is contained in:
parent
612b4404a9
commit
2f39dee28b
4 changed files with 92 additions and 54 deletions
|
@ -19,7 +19,8 @@ pub struct Anchor {
|
|||
#[derive(Clone)]
|
||||
pub struct AnchorMap<T> {
|
||||
pub(crate) version: clock::Global,
|
||||
pub(crate) entries: Vec<((FullOffset, Bias), T)>,
|
||||
pub(crate) bias: Bias,
|
||||
pub(crate) entries: Vec<(FullOffset, T)>,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue