Threads sharing heap memory that is constant after initialization
⚓ Rust 📅 2025-05-16 👤 surdeus 👁️ 11If it does not use a lot of memory, and initialization does not use a lot of cpu, is it faster to somehow share one object that is constant after initialization or to have a separate object and initialization for each thread.
2 posts - 2 participants
🏷️ rust_feed