Files
Cubed/include/Cubed/gameplay/client_world.hpp
zhenyan121 85db85a737 refactor(client_world): use concurrent data structures for chunk management
Replace std::shared_mutex and std::unordered_set with tbb::concurrent_hash_map for chunk storage, tbb::concurrent_queue for pending uploads, and absl::flat_hash_set for player chunk positions. This improves thread safety and reduces locking overhead. Refactor receive_chunk and request_chunk to work with the new concurrent model.
2026-06-29 14:14:36 +08:00

4.6 KiB