Exemplo n.º 1
0
        static void Main(string[] args)
        {
            foreach (var reps in new int[] { 100, 1000, 10000, 100000, 1000000, 10000000, 20000000, 40000000 })
            {
                tree = new RankedDictionary <Guid, int>();

                for (int ii = 0; ii < reps; ++ii)
                {
                    tree.Add(Guid.NewGuid(), ii);
                }

                Console.WriteLine(reps);
#if DEBUG
                Console.WriteLine(tree.GetTreeStatsText());
#endif
            }
        }