-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #401: Major sources of casino.js slowness
1. We forgot our mantra to create no temp files, so we were going through expensive cleanup / kill-all-scripts logic each time. 2. We had no quick-detection of a game that was not yet over - we were waiting for all win/lose/tie detections to time out. 3. Common game states such as immediately ending the game due to blackjack weren't being detected until after a very long retry-loop of trying to detect buttons that aren't there. We now check for all outcomes with 0 delay before resorting to any retries.
- Loading branch information
1 parent
f012188
commit 61266ac
Showing
1 changed file
with
58 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters