[ https://issues.apache.org/jira/browse/ARROW-12951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-12951: ----------------------------------- Labels: pull-request-available (was: ) > [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: Antoine Pitrou > Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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)