]> feistymeow.org Git - feisty_meow.git/commitdiff
reduced number of nodes in sym tree test
authorFred T. Hamster <fred@feistymeow.org>
Thu, 26 Feb 2026 02:05:38 +0000 (21:05 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Thu, 26 Feb 2026 02:05:38 +0000 (21:05 -0500)
was taking 30 seconds before with 40000 nodes, so dropped to ~4000 nodes and now run time is under 4 seconds.

nucleus/library/tests_nodes/test_symbol_tree.cpp

index 64e917e04c538861207e1bac908a670dce240ec8..a3e7aeefef1eb053ffa50d16517599e6ed86370c 100644 (file)
@@ -44,7 +44,8 @@ using namespace unit_test;
 //#define DEBUG_TEST_SYMBOL_TREE
 
 // how many nodes we add to the tree.
-const int MAX_NODES_TESTED = 40000;
+//const int MAX_NODES_TESTED = 40000;
+const int MAX_NODES_TESTED = 4200;
 
 class test_symbol_tree : public unit_base, public application_shell
 {