Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Split off from ARROW-16161, since this is a fairly straightforward fix and completely independent of ExecBatch.
Expression::type() currently copies a shared_ptr<DataType>, while the return value is often used directly. We can avoid copying the shared_ptr, by returning a reference to it. This reduces thread contention on these shared_ptrs (ARROW-16161).
Attachments
Issue Links
- links to