kanidm / concread

Concurrently Readable Data Structures for Rust
Mozilla Public License 2.0
343 stars 15 forks source link

Use unions with manually drop #54

Closed Firstyear closed 2 years ago

Firstyear commented 3 years ago

Since 1.50 enough parts are in place to allow us to use union types with manually drop. This would replace a large quantity of unsafe casting throughout the codebase in the hashmap especially.

Once we are able to target 1.50 we should change to use this.