apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.31k stars 1.19k forks source link

Continue to improve performance of `trim` #12576

Open Rachelint opened 1 month ago

Rachelint commented 1 month ago

Is your feature request related to a problem or challenge?

12395 Has improved performance of trim through the string view based fast path.

But we still can do more as stated in https://github.com/apache/datafusion/pull/12395#issuecomment-2365130100

Describe the solution you'd like

Solve the cpu cost bottleneck listed in https://github.com/apache/datafusion/pull/12395#issuecomment-2365130100

Describe alternatives you've considered

No response

Additional context

No response

Rachelint commented 1 month ago

take