wave4-native-parallel-multihashmap-parallel-writer
CommunityLock-free parallel inserts into shared hash maps.
Software Engineering#lock-free#burst#unity-dots#native-containers#parallel-jobs#multihashmap#spatial-hashing
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you write lock-free parallel jobs that insert many entity values into a shared hash map without race conditions or heavy synchronization.
Core Features & Use Cases
- Lock-free parallel writing: Uses
AsParallelWriter()so multiple worker threads can safely add entries concurrently. - Multi-value per key support: Uses
NativeParallelMultiHashMap<TKey, TValue>to store multiple values under the same spatial/key bucket. - Scatter-gather workflows: Enables a fast parallel “scatter” stage followed by a subsequent (often sequential) “gather/read” stage to process the results.
Quick Start
Use NativeParallelMultiHashMap<int,int>.AsParallelWriter() in a Burst job to add per-entity indices into spatial hash buckets, then read the filled map in a separate job to process each key’s values.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wave4-native-parallel-multihashmap-parallel-writer Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave4-native-parallel-multihashmap-parallel-writer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.