Skip to content

More cache-friendly state representation #67

Description

@lerboe

The current implementation uses a dense matrix to store the states/transitions. This most likely leads to many cache misses, slowing down parsing considerably.
I presume that NFAs won't pass verification, but maybe a sparse matrix representation?

  • Quantify cache misses
  • Try out sparse matrix representation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions