diff --git a/src/main_leave.rs b/src/main_leave.rs index 61a281a..682f951 100644 --- a/src/main_leave.rs +++ b/src/main_leave.rs @@ -13,6 +13,12 @@ thread_local! { std::cell::RefCell::new(Box::new(rand_chacha::ChaCha20Rng::from_entropy())); } +static BASE62: &[u8; 62] = b"\ +0123456789\ +ABCDEFGHIJKLMNOPQRSTUVWXYZ\ +abcdefghijklmnopqrstuvwxyz\ +"; + static USED_STDOUT: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false); // support "-" to mean stdout. @@ -500,11 +506,6 @@ fn generate_autoplay_logs= num_games { num_processed_games.fetch_sub(1, std::sync::atomic::Ordering::Relaxed); @@ -634,17 +634,16 @@ fn generate_autoplay_logs