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

Replace substring with slice #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexeyten
Copy link

We are counting bytes so this will shave off 8 of them 😄

Difference between substring and slice is irrelevant here because 0 <= cursor < index

We are counting bytes so this will shave off 8 of them
:smile: 

Difference between substring and slice is irrelevant here because `0 <= cursor < index`
@alexeyten
Copy link
Author

@alexeyraspopov ping

@43081j
Copy link

43081j commented Jun 18, 2024

its actually slower for whatever reason. the speed is more important than the bytes saved in this case imo

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