Replies: 1 comment 3 replies
-
What are you doing that is taking 10 minutes to execute? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
rich.print()
to print some pretty stuff to console for Advent of Code, but when I'm running with the final version I usually setquiet=True
for therich.console.Console()
object I've created.But there's a huge performance issue with using
rich
, even if in quiet mode.I've run today's problem in 10!!!! minutes with
rich.console.Console
withquiet=True
whereas if I put all the calls toconsole.print()
in a wrapper method that check thequiet
flag and only delegates toconsole.print()
if not quiet I get the execution down to 10-12 seconds.Beta Was this translation helpful? Give feedback.
All reactions