Skip to content

FindSubstring<&[u8]>: make use of memchr::memmem#86

Merged
epage merged 1 commit intowinnow-rs:mainfrom
epage:memchr
Jan 27, 2023
Merged

FindSubstring<&[u8]>: make use of memchr::memmem#86
epage merged 1 commit intowinnow-rs:mainfrom
epage:memchr

Conversation

@epage
Copy link
Collaborator

@epage epage commented Jan 27, 2023

@coveralls
Copy link

coveralls commented Jan 27, 2023

Pull Request Test Coverage Report for Build 4020509114

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 1 of 293 (0.34%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-4.8%) to 51.153%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/traits.rs 0 292 0.0%
Files with Coverage Reduction New Missed Lines %
src/character/complete.rs 1 79.58%
Totals Coverage Status
Change from base Build 4019581529: -4.8%
Covered Lines: 1753
Relevant Lines: 3427

💛 - Coveralls

@epage epage merged commit c03363f into winnow-rs:main Jan 27, 2023
@epage epage deleted the memchr branch January 27, 2023 00:56
epage added a commit to epage/winnow that referenced this pull request Aug 17, 2023
This reverts commit 489aa2a.

PR winnow-rs#86 "FindSubstring<&[u8]>: make use of `memchr::memmem`"

When testing under gitoxide, it turned out this slowed down
gitoxide-specific micro-benchmarks from ~170ns to ~240ns
epage added a commit to epage/winnow that referenced this pull request Aug 17, 2023
This reverts commit 489aa2a.

PR winnow-rs#86 "FindSubstring<&[u8]>: make use of `memchr::memmem`"

When testing under gitoxide, it turned out this slowed down
gitoxide-specific micro-benchmarks from ~170ns to ~240ns
epage added a commit to epage/winnow that referenced this pull request Aug 17, 2023
This reverts commit 489aa2a.

PR winnow-rs#86 "FindSubstring<&[u8]>: make use of `memchr::memmem`"

When testing under gitoxide, it turned out this slowed down
gitoxide-specific micro-benchmarks from ~170ns to ~240ns
@epage epage mentioned this pull request Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments