Open EvilPuddingLemon opened 5 years ago
@EvilPuddingLemon we can remove nodes from tree, but to completely release memory that's another story 😬 that's more a garbage collector issue.
Do you have a specific example on which we could benchmark?
I don't know your use case, but a solution might to serialize your tree in json
and reload it in another python process (the new process would be clean). FYI json
serialization is planned #85 for next release.
I hope you can realize a function that will release the memory, it will do me a favour in using treelib to build privacy preserved trie for big data while deleting node.