viirya commented on issue #1531:
URL: https://github.com/apache/arrow-rs/issues/1531#issuecomment-1098638044

   Thanks @HaoYang670 . It is clear from the above list, `substring by byte 
checked` is always in the middle in many aspects. So I'm wondering if it is 
really needed? For safety case, we want to make sure valid utf8 result, we 
definitely choose `substring by char`. If we don't care about it, we use 
`substring by byte unchecked`. I'm not sure what `substring by byte checked` 
can provide us.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to