[
https://issues.apache.org/jira/browse/ARROW-12951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359383#comment-17359383
]
David Li commented on ARROW-12951:
----------------------------------
Ah sorry! In that case please continue, I was just searching through the
backlog.
> [C++] Refactor StringTransform
> ------------------------------
>
> Key: ARROW-12951
> URL: https://issues.apache.org/jira/browse/ARROW-12951
> Project: Apache Arrow
> Issue Type: Task
> Components: C++
> Reporter: Antoine Pitrou
> Assignee: David Li
> Priority: Minor
>
> In {{compute/kernels/scalar_string.cc}, currently there is a non-trivial
> inheritance relationship between {{StringTransform}} and its derived
> implementation classes. Also, the derived classes have to be templated on the
> actual string type even though their code doesn't care, making generated code
> size probably bigger than it should be.
> Instead, there could be a {{StringTransformExec}} class that delegates to an
> independent class for per-kernel specifics (mostly: the {{MaxCodeunits}} and
> {{Transform}} methods).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)