lua-resty-radixtree icon indicating copy to clipboard operation
lua-resty-radixtree copied to clipboard

How to delete a node of a radixtree?

Open ranxuxin001 opened this issue 1 year ago • 1 comments

Hello everyone,

I've read the lua-resty-radix source code. There's no method to delete a node in a radixtree. Could anyone help me how to delete the node, please?

ranxuxin001 avatar Mar 29 '23 07:03 ranxuxin001

There's remove node method in radixantirez /rax
Could we implement a remove node method in lua-resty-radixtree which call raxRemove()? int raxRemove(rax *rax, unsigned char *s, size_t len, void **old)

ranxuxin001 avatar Mar 29 '23 08:03 ranxuxin001