Skip to content

FindPattern performance  #2

@pravic

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.

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