Skip to content

Add string eq function#765

Merged
bnoordhuis merged 3 commits intoquickjs-ng:masterfrom
richarddd:fix/string-equal
Dec 27, 2024
Merged

Add string eq function#765
bnoordhuis merged 3 commits intoquickjs-ng:masterfrom
richarddd:fix/string-equal

Conversation

@richarddd
Copy link
Copy Markdown
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.

Comment thread quickjs.c Outdated
@bnoordhuis bnoordhuis merged commit 74fd4d7 into quickjs-ng:master Dec 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.

4 participants