Skip to content

Conversation

@apaloleg
Copy link

@apaloleg apaloleg commented Dec 19, 2025

This commit adds some methods to operate radixtree. These methods allows Apache APISIX's radixtree_host_uri router to perform more efficient route updates via the Admin API.

  • sub_router - another radixtree instance attached to route.

  • get_sub_router () - provides direct access to a sub-router for subsequent operations (add/update/delete routes) without rebuilding the entire tree.

  • isempty() - checks whether radixtree contains any routes

Refer to (apache/apisix#12826)

This commit adds some methods to operate radixtree. These methods allows Apache APISIX's radixtree_host_uri router to perform
more efficient route updates via the Admin API.

- sub_router - another radixtree instance attached to route.

- get_sub_router () - provides direct access to a sub-router for subsequent operations
  (add/update/delete routes) without rebuilding the entire tree.

- isempty() - checks whether radixtree contains any routes
@CLAassistant
Copy link

CLAassistant commented Dec 19, 2025

CLA assistant check
All committers have signed the CLA.

@Baoyuantop
Copy link

Hi @apaloleg, please complete the CLA signing so that CI execution can be triggered.

@Baoyuantop
Copy link

Please help review this part of the changes @membphis.

@apaloleg
Copy link
Author

Hi @apaloleg, please complete the CLA signing so that CI execution can be triggered.

Done

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

Successfully merging this pull request may close these issues.

3 participants