Changed default implementation used by main to be bitwise
authorJustin Worthe <justin@worthe-it.co.za>
Sat, 7 Jul 2018 09:26:56 +0000 (11:26 +0200)
committerJustin Worthe <justin@worthe-it.co.za>
Sat, 7 Jul 2018 09:26:56 +0000 (11:26 +0200)
src/bin/perf-test.rs
src/main.rs

index 81dc5a5..f5a78a0 100644 (file)
@@ -9,7 +9,7 @@ const STATE_PATH: &str = "tests/state0.json";
 use std::process;
 
 fn main() {
-//    expressive();
+    expressive();
     bitwise();
 }
 
index fa9216e..752e8b9 100644 (file)
@@ -40,7 +40,7 @@ fn write_command(filename: &str, command: Command) -> Result<(), Box<Error> > {
 fn main() {
     let start_time = PreciseTime::now();
     
-    let (settings, state) = match input::json::read_expressive_state_from_file(STATE_PATH) {
+    let (settings, state) = match input::json::read_bitwise_state_from_file(STATE_PATH) {
         Ok(ok) => ok,
         Err(error) => {
             println!("Error while parsing JSON file: {}", error);