You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optimize split_part for single-character delimiters #21118
Is your feature request related to a problem or challenge?
split_part uses str::split(&str). For single-character ASCII delimiters, this is inefficient: internally, this uses a general string pattern matching algorithm. Calling str::split(char) uses memchr::memchr internally, which is notably faster.
Activity
neilconway commentedon Mar 23, 2026
take
perf: Optimize `split_part`, support `Utf8View` (#21119)
perf: Optimize `split_part`, support `Utf8View` (apache#21119)