Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use native indexOf whenever possible #61

Merged
merged 4 commits into from Oct 8, 2018

Commits on Oct 5, 2018

  1. Use native indexOf whenever possible

    This uses a windowing approach to determine how much of a buffer can be searched by the native indexOf when searching. It falls back to JS when it hits a boundary and if there is no available native search window. I'm pretty sure a BufferList can't be searched drastically faster than this.
    
    Actual performance needs to be measured.
    reconbot committed Oct 5, 2018
    Copy the full SHA
    b254662 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2018

  1. Copy the full SHA
    6d71467 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2018

  1. Copy the full SHA
    172e3ee View commit details
    Browse the repository at this point in the history
  2. lint

    reconbot committed Oct 7, 2018
    Copy the full SHA
    84b1b3a View commit details
    Browse the repository at this point in the history