-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Some parts are similar to what we have
- There's already
memcmpoptimization, so the predicate classification can be reused - The elements classification can be reused from
min/max_elementoptimization - The wrappers for intrinsics can also be reused from
min/max_elementoptimization
Scope
- 1 byte integers (for strings, IP addresses, binary data, etc., try to beat
memcmp) - 2 byte integers (for wide strings)
- 4 or 8 byte integers (for arrays of integers)
4 or 8 byte floats (for arrays of floats, after vectorizemin/max_elementusing SSE4.1 for floats #3928)Can support infinite ranges removed in Don'tmemcmp(x, y, -1)fromranges::lexicographical_compare#3989 again
Reactions are currently unavailable