diff options
Diffstat (limited to 'src/document/bench.rs')
| -rw-r--r-- | src/document/bench.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/document/bench.rs b/src/document/bench.rs index db76ccc..09095fa 100644 --- a/src/document/bench.rs +++ b/src/document/bench.rs @@ -31,7 +31,7 @@ //! document, each once. //! //! `screening`: what judging every change received costs while catching up -//! (`access::screen`), against applying them unjudged, as a node whose document has no +//! (`document::screen`), against applying them unjudged, as a node whose document has no //! policy does now: many changes into an empty document, as one delta brings them; //! judged with no policy in them (each passes, read at its dependencies, after its //! paths were found), and with the policy their first change wrote (each judged by the @@ -638,7 +638,7 @@ fn nested_on(mut doc: Document, changes: usize, actors: usize) -> Document { } /// The time to take `doc`'s changes into an empty document: unjudged, as Automerge -/// applies them; and screened (`access::screen::apply`). +/// applies them; and screened (`document::screen::apply`). fn screening_costs(workload: &str, doc: &Document) { let raw: Vec<Vec<u8>> = doc .get_changes(&[]) @@ -661,13 +661,13 @@ fn screening_costs(workload: &str, doc: &Document) { let changes = changes(); let mut empty = Document::new(); let started = Instant::now(); - let screened = crate::access::screen::apply( + let screened = crate::document::screen::apply( &mut empty, Epoch::GENESIS, false, changes, - &mut crate::access::screen::Waiting::default(), - &mut crate::access::screen::Refusals::default(), + &mut crate::document::screen::Waiting::default(), + &mut crate::document::screen::Refusals::default(), None, &mut crate::document::PatchLog::inactive(), ) |
