Skip to content

Conversation

pjfanning
Copy link
Member

@pjfanning pjfanning commented Sep 5, 2025

  • see Optimise ByteString lastIndexOf #2150
  • WIP
  • doesn't yet use SWAR but having the new methods that take Byte inputs instead of the [B >: Byte] versions is the biggest win
  • needs a jmh benchmark

@pjfanning pjfanning changed the title Last index of improve improve ByteString lastIndexOf Sep 5, 2025
@pjfanning pjfanning marked this pull request as draft September 5, 2025 21:18
@He-Pin He-Pin added this to the 2.0.0-M1 milestone Sep 6, 2025
@pjfanning pjfanning modified the milestones: 2.0.0-M1, 2.0.0-M2 Oct 8, 2025
add optimised lastIndexOf

Update ByteString.scala

Update ByteString.scala

Update ByteString.scala
@pjfanning pjfanning force-pushed the lastIndexOf-improve branch from fab09a7 to b5a4ec5 Compare October 8, 2025 17:32
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.

2 participants