Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to delete a node of a radixtree? #124

Open
ranxuxin001 opened this issue Mar 29, 2023 · 1 comment
Open

How to delete a node of a radixtree? #124

ranxuxin001 opened this issue Mar 29, 2023 · 1 comment

Comments

@ranxuxin001
Copy link
Contributor

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
Copy link
Contributor Author

ranxuxin001 commented Mar 29, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant