Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by Julio Jerez » Thu Sep 13, 2018 1:29 pm
oh very cool you found that.
yes I added that check to see how often two different threads were going to find the same new pair.
the reason is that if the event is rare, then is better to let it happens, and them remove the duplicate from the cached list.
if it is very frequent then a critical section is required to add pairs to the cached list and that's a less desirable option.
your finding shows the first option is best.
I will fix that this weekend alone with those other asserts you has reported.
this is what makes an engine stronger more than anything else.
thank you for that.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Sat Sep 22, 2018 8:00 pm
Ok I have this fixed now.
please sync and try again
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 13 guests