Skip to content

[C++] Clean up invariant checks in RowSegmenter to be DCHECK #34529

@icexelloss

Description

@icexelloss

Describe the enhancement requested

Following this discussion: https://github.com/apache/arrow/pull/34311/files#r1123635688

Currently certain invariants checks are done via if/else checks which has runtime cost/overhead. These can be changed to DCHECK because these are checking invariants that cannot be break by user behavior/data.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions