Skip to content

Add string eq function #765

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

Merged
merged 3 commits into from
Dec 27, 2024
Merged

Conversation

richarddd
Copy link
Contributor

This function avoids checking equality in string if length already missmatches.
Not super critical but if we have a lot of common prefixes with different lengths this is be beneficial.

@bnoordhuis bnoordhuis merged commit 74fd4d7 into quickjs-ng:master Dec 27, 2024
59 checks passed
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.

4 participants