On Tue, May 25, 2021 at 5:38 AM Guido van Rossum <[email protected]> wrote:
>
> To the contrary, I think if you want the CI jobs to be faster you should add 
> the CFLAGS to the configure call used to run the CI jobs.
>

-Og makes it faster not only CI jobs, but also everyday "edit code and
run `make test` with all assertions" cycles.

I don't have opinion which should be default. (+0 for -O0).
I use -Og by default and use -O0 only when I need anyway.

FWIW, we can disable optimization per-file basis during debugging.

  // Put this line on files you want to debug.
  #pragma GCC optimize ("O0")

Regards,

-- 
Inada Naoki  <[email protected]>
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/OJJZKWS446PJPXHUBNUVIYE756D5HHP4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to