Skip to content

Optimize the generated code by using a minimal perfect hashing function #18

@kraptr

Description

@kraptr

The generated code loops over each input string and compares with all possible options for a match. This is O(N^2). We can bring it down to linear by using a minimal perfect hashing function for comparison.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions