diff options
author | Steve Bennett <steveb@workware.net.au> | 2021-01-10 11:34:06 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2022-08-21 17:17:25 +1000 |
commit | 25e8086a9e702cad24186826cdbc59bfc5a107cb (patch) | |
tree | 1b538b5ce04e7853dde63884cd9696e64f890d42 /tests | |
parent | c7e36a85847e6bfda7f87936e4c3b81dd5f81268 (diff) | |
download | jimtcl-25e8086a9e702cad24186826cdbc59bfc5a107cb.zip jimtcl-25e8086a9e702cad24186826cdbc59bfc5a107cb.tar.gz jimtcl-25e8086a9e702cad24186826cdbc59bfc5a107cb.tar.bz2 |
tree: node ids are now simple integers
Dictionary lookups with simple integers are more efficient
than with "node<integer>"
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tree.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tree.test b/tests/tree.test index 22a16f5..0e8b7fd 100644 --- a/tests/tree.test +++ b/tests/tree.test @@ -111,7 +111,7 @@ test tree-2.3 "walk bfs" { } {rootnode childnode1 root.c2 root.c3 childnode2 n.c4 n.c5 n.c5.c6} test tree-3.1 "delete nodes" { - $pt delete node6 + $pt delete 6 set result {} $pt walk root bfs {action n} { if {$action == "enter"} { |