Enet4 / dicom-rs

Rust implementation of the DICOM standard
https://dicom-rs.github.io
Apache License 2.0
414 stars 82 forks source link

Shrink size of GetAttributeError #317

Closed Enet4 closed 1 year ago

Enet4 commented 1 year ago

The sizes of the error types in dicom-pixeldata were very large, which can have an impact on performance. This manages to shrink the stack memory size of GetAttributeError from 168 bytes to 64 bytes.

Since GetAttributeError is never made public (dependent is an opaque error type), this is not a breaking change.