Skip to content

FindPattern performance  #2

Description

@pravic

Currently it uses memcmp for each address, however, it's more effective to find the first byte of a pattern via memchr (which is highly optimized) first and then compare the found address against the whole pattern.

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