[GH-ISSUE #2994] Address clippy::large_enum_variant and clippy::result_large_err lints #1107

Closed
opened 2026-03-16 01:37:13 +03:00 by kerem · 0 comments
Owner

Originally created by @divergentdave on GitHub (May 15, 2025).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2994

We have several of these lints ignored throughout the codebase. We should take a closer look at these types at some point, and consider boxing or otherwise changing their memory layout. It would be best if we could measure the performance impact of the changes, but generally opportunities to eliminate memcpy()s are useful.

Originally created by @divergentdave on GitHub (May 15, 2025). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2994 We have several of these lints ignored throughout the codebase. We should take a closer look at these types at some point, and consider boxing or otherwise changing their memory layout. It would be best if we could measure the performance impact of the changes, but generally opportunities to eliminate `memcpy()`s are useful.
kerem closed this issue 2026-03-16 01:37:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#1107
No description provided.