-
Notifications
You must be signed in to change notification settings - Fork 2
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
New three-way string comparison instruction similar to std::strcmp
in C++
#58
Comments
Totally agree. See my previous proposal about that #37 |
I can't remember other instructions maybe we should require this to accept non-nullable string? |
Prior discussion: #47 I couldn't find a reference for it, but I thought I remembered a decision to follow the example of |
Sounds good to keep it consistent with the rest. |
For performance evaluations we added the following instruction to v8 (change) and it might make sense to add it to the stringref proposal:
string.compare
[0xfba8
]The instruction does not use locale-specific comparisons but behaves like the operator
<
/>
in JavaScript to determine the order.The text was updated successfully, but these errors were encountered: