anoopj opened a new issue, #3027:
URL: https://github.com/apache/iceberg-rust/issues/3027
### Is your feature request related to a problem or challenge?
When reading or writing a manifest, the partition type is wrapped as
`Type::Struct(partition_type.clone())` once per entry inside the per-entry
loop, in both the read and write paths. For a manifest with `N` entries and `P`
partition fields, that's `N` wasted HashMap builds and `N×P` string clones,
even though the partition type is identical for every entry in a manifest (a
manifest references a single partition spec).
### Describe the solution you'd like
Wrap the partition type into a `Type::Struct(..)` once before the loop, and
just reuse it the per-entry conversion.
### Willingness to contribute
I can contribute to this feature independently
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]