hawkw / sharded-slab

a lock-free concurrent slab (experimental)
MIT License
269 stars 17 forks source link

Initialize array using `ptr::write_bytes` #99

Open vcfxb opened 1 month ago

vcfxb commented 1 month ago

Feel free to close this if it's considered too unsafe for this project, considering that it does introduce unsafe code in a place that didn't use it previously, for pretty slight performance improvements.