diff --git a/lunar_wave_vm/examples/string_interning.rs b/lunar_wave_vm/examples/string_interning.rs index c5a177b..02a6633 100644 --- a/lunar_wave_vm/examples/string_interning.rs +++ b/lunar_wave_vm/examples/string_interning.rs @@ -15,11 +15,14 @@ fn main () { println! ("{}: {} ms", label, (stop - start).as_millis ()); } - timer (|| n_body:: (100000), "BTreeTable"); - timer (|| n_body:: (100000), "BTreeTable2"); - timer (|| n_body:: (100000), "HashTable"); - timer (|| n_body_2:: (100000), "HashTable2"); + // timer (|| n_body:: (100000), "BTreeTable"); + // timer (|| n_body:: (100000), "BTreeTable2"); + // timer (|| n_body:: (100000), "HashTable"); + // timer (|| n_body_2:: (100000), "HashTable2"); + + // Fastest on my system, at 83 ms timer (|| n_body_2:: (100000), "BTreeTable3"); + timer (|| n_body_2:: (500000), "BTreeTable3"); } trait Table {