MechWarrior99
✅ Faster & thread safe random number generator?
Oh thanks for the link. I didn't realize that is literally what it is called. Or that it seems pretty easy to implement. I might give that a go and see how it performs.
Still a bit surprised there isn't more libraries for C# that deal with random numbers and randomness (just in general)
52 replies
How to safely access parameters from Task (Porting from Unity IJob)
Ahh I see, thank you. I will keep
.ConfigureAwait()
in mind, wasn't aware of it!
I was aware of LongRunning, but I don't think it applies in this case as I want the the generation to happen in 'real time' (less than ~100ms) as the user changes properties in the UI.
So if it is taking longer than that, I need to do some more optimization haha.36 replies
How to safely access parameters from Task (Porting from Unity IJob)
Appreciate the info! And yeah, as Burrito said, this is not in Unity, just familiar with the Unity Jobs system and way of doing things. And trying to understand how you would do the same in a plain C# app.
36 replies