You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey :
Nice work,nice trie .
I just found method trie_free() , but it free all the data . Is there a function to remove single node (self child ), I can't have enough mem all the time .
I used the trie for storing url rules , sometimes I need to remove some unuseful urls .
by the way , your trie insert urls so fast .
thanks your work .
The text was updated successfully, but these errors were encountered:
Right now there's no way to free trie nodes. If you set the data pointer
to NULL the nodes are left behind, though they will _not_ be visited
(making them effectively deleted). These empty branches are left
flapping in the breeze so to speak, though the nodes that make them up
would be reused if that particular prefix is inserted again later.
There isn't a technical reason for this. I just didn't add this
functionality since I haven't needed it.
Hey :
Nice work,nice trie .
I just found method trie_free() , but it free all the data . Is there a function to remove single node (self child ), I can't have enough mem all the time .
I used the trie for storing url rules , sometimes I need to remove some unuseful urls .
by the way , your trie insert urls so fast .
thanks your work .
The text was updated successfully, but these errors were encountered: