Skip to content

Improve longest prefix matching with binary search #1716

@liu-cong

Description

@liu-cong

This is a good first issue.

What would you like to be added:

We currently use a simple linear search algorithm:

With long input sequences, optimizing this with binary search is desired.

Why is this needed:

Metadata

Metadata

Assignees

Labels

needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions