// FRESH (10k)
// - iter/sum
// - insert first
// - insert mid
// - insert last
// - insert scatter
// - insert clusters
// - remove scatter
// - remove clusters
// - insert/remove scatter
// - insert/remove clusters
FRESH (10k)
iter/sum
insert first
insert mid
insert last
insert scatter
insert clusters
remove scatter
remove clusters
insert/remove scatter
insert/remove clusters
FRESH ( 10k ) iter / sum insert first insert mid insert last insert scatter insert clusters remove scatter remove clusters insert / remove scatter insert / remove clusters
fn run_benchmark_fresh_table(b: &mut Bencher, src: &[i32], commands: &[Command<i32>], capacity: usize) {
    b.iter(|| {
        let mut table = PieceTable::with_capacity(capacity, capacity).src(src);
        run_commands_table(&mut table, commands);
    })
}
fn run_benchmark_fresh_table ( b : & mut Bencher , src : & [ i32 ] , commands : & [ Command < i32 > ] , capacity : usize ) { b . iter ( | | { let mut table = PieceTable :: with_capacity ( capacity , capacity ) . src ( src ) ; run_commands_table ( & mut table , commands ) ; } ) }
FRESH (10k)
 iter/sum
 insert first
 insert mid
 insert last
 insert scatter
 insert clusters
 remove scatter
 remove clusters
 insert/remove scatter
 insert/remove clusters
FRESH ( 10k ) iter / sum insert first insert mid insert last insert scatter insert clusters remove scatter remove clusters insert / remove scatter insert / remove clusters
b
&mut Bencher
src
&[i32]
commands
&[Command<i32>]
capacity
usize