diff options
Diffstat (limited to 'thesis/parts/implementation.tex')
-rw-r--r-- | thesis/parts/implementation.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thesis/parts/implementation.tex b/thesis/parts/implementation.tex index bba1a3f..478280c 100644 --- a/thesis/parts/implementation.tex +++ b/thesis/parts/implementation.tex @@ -58,7 +58,7 @@ Among other things, this allows us to use for loops, and to more easily move dat \section{Building cost models} %% Benchmarker crate -In order to benchmark container types, we use a seperate crate (\code{src/crates/benchmarker}) containing benchmarking code for each trait in the Primrose library. +In order to benchmark container types, we use a seperate crate containing benchmarking code for each trait in the Primrose library (\code{src/crates/benchmarker}). When benchmarks need to be run for an implementation, we dynamically generate a new crate, which runs all benchmark methods appropriate for the given implementation (\code{src/crate/candelabra/src/cost/benchmark.rs}). As Rust's generics are monomorphised, our generic code is compiled as if we were using the concrete type in our code, so we don't need to worry about affecting the benchmark results. |