Skip to content

replaced manual comparison with direct slice comparison#283

Open
khresth wants to merge 1 commit intomistralai:mainfrom
khresth:main
Open

replaced manual comparison with direct slice comparison#283
khresth wants to merge 1 commit intomistralai:mainfrom
khresth:main

Conversation

@khresth
Copy link

@khresth khresth commented Oct 24, 2025

Used memoryview to create a zero copy view of the buffer, avoiding memory allocation for slices. This optimized version should be significantly faster for longer sequences.

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.

1 participant