over 4 years ago - /u/WotC_BenFinkel - Direct link

Originally posted by Ahayzo

u/WotC_BenFinkel Why does the autodraw still go off for things like this after being out as long as it has?

Can you clarify your question? #wotc_staff

over 4 years ago - /u/WotC_BenFinkel - Direct link

Originally posted by Ahayzo

From the caption

This move almost made the game auto draw me

The check to stop unending loops hits more than just that, and stops actual stoppable loops that have an effect on the game. Why implement it if it doesn't work properly?

We have a loop detector because, if we didn't mandatory infinite loops would literally consume all memory of a server for the game, destroying other people's matches and requiring some external way of killing the process adjudicating the game. For this purpose, it's better to have a few "false positives" of thinking there's an infinite loop when there isn't than to have false negatives where we allow someone to crash other people's games etc.

We somewhat recently refactored the loop detector in a way that should make there be fewer false positives. If you get warned about a loop that you think isn't, I'd be happy to look into it. #wotc_staff