Manishearth / elsa

Append-only collections for Rust where borrows to entries can outlive insertions
Apache License 2.0
228 stars 33 forks source link

FrozenMap and friends should implement Clone #33

Closed sffc closed 1 year ago

sffc commented 2 years ago

Is there some thread safety reason they can't implement Clone?

Manishearth commented 2 years ago

It should be fine. The sync one could potentially cause slowdowns since it lengthens the critical section, but it should be fine.