Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ecs: Use atomic increment in NewID instead of lock.
Original issue reported by @EtienneBruines in EngoEngine/ecs#21 u@x1 ~/D/g/s/g/m/e/ecs> benchcmp old.txt new.txt benchmark old ns/op new ns/op delta BenchmarkNewID-4 27.0 10.6 -60.74%
- Loading branch information