Skip to content

[C++] Optimize strided WriteTensor #17477

@asfimport

Description

@asfimport

At the moment, if we call WriteTensor on a strided Tensor, it will write the tensor element by element; this can be optimized by combining multiple consecutive writes together.

If there are long stretches of contiguous data, this might even be able to take advantage of the multithreaded memory copy we have int the FixedSizeBufferWriter.

Reporter: Philipp Moritz / @pcmoritz
Assignee: Wes McKinney / @wesm

Note: This issue was originally created as ARROW-1457. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions