Increase threshold for usage of compute for utf8 decoding on large strings to 50 KB (#64350)
On a local benchmark, removing compute is faster than compute in both debug and release mode on a Pixel 4. On a MotoG4, a much larger text sample (800 Kb) takes 50 ms, so we cannot simple remove the limit. Increase to 50 Kb which should take at most a ms or two on an older device, and only microseconds on newerones.
Showing
Please register or sign in to comment