good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 732a6a36 authored by Evolution404's avatar Evolution404 Committed by GitHub
Browse files

trie: small optimization of delete in fullNode case (#22979)


When deleting in fullNode, and the new child node nn is not nil, there is no need
to check the number of non-nil entries in the node. This is because the fullNode 
must've contained at least two children before deletion, so there must be another
child node other than nn.

Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
parent 7b6c8363
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment