catanatron
catanatron copied to clipboard
Improve catanatron-play load time
Right now, even using the --help
flag takes a long time. I am assuming it's because we are eagerly importing libraries (for example, numpy, tensorflow) which may not be needed until the actual code is being executed.
This may be a symptom of a broader need for import / loading hygiene.
time catanatron-play --help
gave 20s on my MacBook Pro:


Agreed! Feel free to open a PR on this!