Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Improve LiteHttp routing by migrating from Dictionary to Radix Trees #8

@Archivelit

Description

@Archivelit

Motivation

The current version of LiteHttp router uses FrozenDictionary<TKey, TValue> during server work. This approach limits routing possibilities. The migration to radix trees can extend possibilites and make implementing of new features like route arguments a lot easier.

Tasks

  • Implement RadixTreeNode.
  • Write tests for RadixTreeNode implementation.
  • Implement route-searching algorithm.
  • Add new router that uses radix tree.
  • Test new router.
  • Add code documentation.

Remarks

Do not change the InternalServer router, it will be changed manually by server developer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions