For performance evaluations we added the following instruction to v8 ([change](https://chromium-review.googlesource.com/c/v8/v8/+/4191772)) and it might make sense to add it to the stringref proposal: - `string.compare` [`0xfba8`] - returns -1, 0 or 1 if the compared strings are lessThan, equal or greaterThan - traps if either of the inputs is null The instruction does not use locale-specific comparisons but behaves like the operator `<` / `>` in JavaScript to determine the order.