schets / multiqueue

A fast mpmc queue with broadcast capabilities
MIT License
201 stars 29 forks source link

Clone trait too restrictive #14

Open VShell opened 7 years ago

VShell commented 7 years ago

The automatically-derived Clone trait on MPMCFutSender (and I assume other Senders) requires that T be Clone - however this is unnecessary since no T is never actually cloned while cloning MPMCFutSender, as far as I can tell. Consider writing custom Clone implementations.

abonander commented 7 years ago

Potentially closed by #9, though an update hasn't been published since it was merged.