Skip to content

Only allocate memory in CropType if use_crop is true #2741

@samsrabin

Description

@samsrabin

Maybe there's a reason it's allocated even if use_crop is false, but it seems like this might be a big performance (memory) win for non-crop setups such as used in PPE work.

Related to #229.

Metadata

Metadata

Assignees

Labels

bfbbit-for-bitgood first issuesimple; good for first-time contributorsperformanceidea or PR to improve performance (e.g. throughput, memory)

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions