3 ms·
> it shouldn't be easy just as e.g. treating floating-point numbers as byte sequences shouldn't be easy. That's a nice analogy. > Doing find substring by fin
by turminal 5y ago
> it shouldn't be easy just as e.g. treating floating-point numbers as byte sequences shouldn't be easy.
That's a nice analogy.
> Doing find substring by find byte subsequence won't behave correctly in many cases, where semantically equivalent strings have multiple different bytesequence representation.
Unfortunately that's nearly impossible to do sanely in the general case, no matter how the string is represented.