-
Notifications
You must be signed in to change notification settings - Fork 2k
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
In both the scalar and array arg paths, to_char allocates a string for every row, and then does a final copy via StringArray::from to convert the results to Arrow format.
Instead, we can use a reusable buffer for the output of ArrayFormatter, and then append into a StringBuilder. That avoids the per-row allocation.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request