Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.0, 2.0.0
-
None
Description
StringExpr::compare() == 0 is forced to evaluate the whole memory comparison loop for differing lengths of strings, though there is no possibility they will ever be equal.
Add a StringExpr::equals which can be a smaller and tighter loop.