Skip to content

Multithread V2#1

Open
dstaatz wants to merge 4 commits into
TanTanDev:mainfrom
dstaatz:multithread
Open

Multithread V2#1
dstaatz wants to merge 4 commits into
TanTanDev:mainfrom
dstaatz:multithread

Conversation

@dstaatz
Copy link
Copy Markdown

@dstaatz dstaatz commented Mar 19, 2022

I tried playing around with the code to see if I could get multi-threading to work better. I ended up using atomics for calculating neighbors for each cell.

The code as it is now is definitely not polished, but I think it is faster than the original multi-threading implementation (with very limited testing).

@HyperCodec
Copy link
Copy Markdown

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants