When a key is inserted that already exists in the tree, the behavior is to treat the insertion as an update.
Currently, tests certify that this works properly, but clearly the tests are inadequate. There is a serious issue when updating a key wherein the integrity of the tree is ruined. That's bad.
When a key is inserted that already exists in the tree, the behavior is to treat the insertion as an update.
Currently, tests certify that this works properly, but clearly the tests are inadequate. There is a serious issue when updating a key wherein the integrity of the tree is ruined. That's bad.