Skip to content

Optimize left, right to avoid copying for Utf8, LargeUtf8 input #21441

@neilconway

Description

@neilconway

Is your feature request related to a problem or challenge?

We currently avoid copying for Utf8View input, but we always copy for other string input types. If we changed left and right to always return Utf8View (a la substr), we could be zero-copy for the other string input types as well.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions