From b9865b7174c8b2ff3fb4bb30c854c611285ff928 Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Mon, 2 Oct 2023 12:13:54 -0500 Subject: [PATCH] :construction: wip --- lunar_wave_vm/examples/string_interning.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 {