X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/test_hash_debug.res b/tests/sav/test_hash_debug.res index b52a9c5..c9b5f48 100644 --- a/tests/sav/test_hash_debug.res +++ b/tests/sav/test_hash_debug.res @@ -3,145 +3,171 @@ a1 false +~~~No hash statistics~~~ ~~~Hash statistics~~~ GET: number of get and has_key: 1 number of collisions: 0 (0.00%) average length of collisions: NA average length of considered collections: 0.00 -average capacity of considered collections: 1.00 (NA%) +average capacity of considered collections: 17.00 (NA%) STORE: -number of stores: 0 -number of collisions: 0 (NA%) -average length of collisions: NA -average length of considered collections: NA -average capacity or considered collections: NA (NA%) -~~~~~~ -~~~Hash statistics~~~ -GET: -number of get and has_key: 2 +number of stores: 1 number of collisions: 0 (0.00%) average length of collisions: NA average length of considered collections: 0.00 -average capacity of considered collections: 1.00 (NA%) +average capacity or considered collections: 17.00 (NA%) -STORE: -number of stores: 1 -number of collisions: 0 (0.00%) -average length of collisions: NA +ENLARGE: +number of enlarge: 1 average length of considered collections: 0.00 -average capacity or considered collections: 1.00 (NA%) +average capacity or considered collections: 17.00 (NA%) ~~~~~~ ~~~Hash statistics~~~ GET: -number of get and has_key: 3 +number of get and has_key: 2 number of collisions: 0 (0.00%) average length of collisions: NA -average length of considered collections: 0.33 -average capacity of considered collections: 6.33 (1900.00%) +average length of considered collections: 0.50 +average capacity of considered collections: 17.00 (3400.00%) STORE: number of stores: 1 number of collisions: 0 (0.00%) average length of collisions: NA average length of considered collections: 0.00 -average capacity or considered collections: 1.00 (NA%) +average capacity or considered collections: 17.00 (NA%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~ true ~~~Hash statistics~~~ GET: -number of get and has_key: 4 +number of get and has_key: 2 number of collisions: 0 (0.00%) average length of collisions: NA average length of considered collections: 0.50 -average capacity of considered collections: 9.00 (1800.00%) +average capacity of considered collections: 17.00 (3400.00%) STORE: number of stores: 1 number of collisions: 0 (0.00%) average length of collisions: NA average length of considered collections: 0.00 -average capacity or considered collections: 1.00 (NA%) +average capacity or considered collections: 17.00 (NA%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~ a2 false ~~~Hash statistics~~~ GET: -number of get and has_key: 5 +number of get and has_key: 3 number of collisions: 0 (0.00%) average length of collisions: NA -average length of considered collections: 0.60 -average capacity of considered collections: 10.60 (1766.67%) +average length of considered collections: 0.67 +average capacity of considered collections: 17.00 (2550.00%) STORE: number of stores: 1 number of collisions: 0 (0.00%) average length of collisions: NA average length of considered collections: 0.00 -average capacity or considered collections: 1.00 (NA%) +average capacity or considered collections: 17.00 (NA%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~ ~~~Hash statistics~~~ GET: -number of get and has_key: 6 +number of get and has_key: 4 number of collisions: 0 (0.00%) average length of collisions: NA -average length of considered collections: 0.67 -average capacity of considered collections: 11.67 (1750.00%) +average length of considered collections: 0.75 +average capacity of considered collections: 17.00 (2266.67%) STORE: number of stores: 2 number of collisions: 1 (50.00%) average length of collisions: 2.00 average length of considered collections: 0.50 -average capacity or considered collections: 9.00 (1800.00%) +average capacity or considered collections: 17.00 (3400.00%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~ ~~~Hash statistics~~~ GET: -number of get and has_key: 7 -number of collisions: 1 (14.29%) +number of get and has_key: 5 +number of collisions: 1 (20.00%) average length of collisions: 2.00 -average length of considered collections: 0.86 -average capacity of considered collections: 12.43 (1450.00%) +average length of considered collections: 1.00 +average capacity of considered collections: 17.00 (1700.00%) STORE: number of stores: 2 number of collisions: 1 (50.00%) average length of collisions: 2.00 average length of considered collections: 0.50 -average capacity or considered collections: 9.00 (1800.00%) +average capacity or considered collections: 17.00 (3400.00%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~ true ~~~Hash statistics~~~ GET: -number of get and has_key: 7 -number of collisions: 1 (14.29%) +number of get and has_key: 5 +number of collisions: 1 (20.00%) average length of collisions: 2.00 -average length of considered collections: 0.86 -average capacity of considered collections: 12.43 (1450.00%) +average length of considered collections: 1.00 +average capacity of considered collections: 17.00 (1700.00%) STORE: number of stores: 2 number of collisions: 1 (50.00%) average length of collisions: 2.00 average length of considered collections: 0.50 -average capacity or considered collections: 9.00 (1800.00%) +average capacity or considered collections: 17.00 (3400.00%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~ end ~~~Hash statistics~~~ GET: -number of get and has_key: 7 -number of collisions: 1 (14.29%) +number of get and has_key: 5 +number of collisions: 1 (20.00%) average length of collisions: 2.00 -average length of considered collections: 0.86 -average capacity of considered collections: 12.43 (1450.00%) +average length of considered collections: 1.00 +average capacity of considered collections: 17.00 (1700.00%) STORE: number of stores: 2 number of collisions: 1 (50.00%) average length of collisions: 2.00 average length of considered collections: 0.50 -average capacity or considered collections: 9.00 (1800.00%) +average capacity or considered collections: 17.00 (3400.00%) + +ENLARGE: +number of enlarge: 1 +average length of considered collections: 0.00 +average capacity or considered collections: 17.00 (NA%) ~~~~~~