Clippy complains about tame_index::Error
being very large in size
#31
Labels
bug
Something isn't working
tame_index::Error
being very large in size
#31
Describe the bug
Clippy complains about
tame_index::Error
being very large:For structs of over 128 bytes passed by value LLVM invokes
memcpy()
, so propagating the error up the call stack with?
over multiple functions involves multiplememcpy()
calls. This is rather slow, although it is unlikely to be a problem fortame-index
in practice since most of the time is spent waiting on the network anyway.To Reproduce
cargo clippy
Device:
Clippy 1.67.0 on Linux x86_64. Doesn't happen in later Clippy versions, which is peculiar.
The text was updated successfully, but these errors were encountered: