Skip to content

Optimize split_part for scalar args #21204

Closed

Description

@neilconway

Is your feature request related to a problem or challenge?

SPLIT_PART(string, delimiter, position): delimiter and position are frequently scalars. We could take advantage of this to optimize split_part. At minimum we could use memchr::memmem::Finder to search for delimiters; maybe other optimization opportunities as well.

#21119 has some related discussion.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. neilconway commented on Mar 27, 2026

    @neilconway
    ContributorAuthor

    take

  2. added a commit that references this issue on Apr 6, 2026
    7fa7fe0
  3. added a commit that references this issue on Apr 8, 2026
    307f147
  4. added a commit that references this issue on Apr 21, 2026
    d9d4f9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions