Skip to content

Reduce duplication when linearizing arrays #2086

@acl-cqc

Description

@acl-cqc

The linearize_array handler of #2023 generates identical Hugr Value::Function constants every time an array of that element type (regardless of length) is copied/discarded (i.e. for the same #copies) ...we want to be able to share some of these.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions