python: why is -c faster than -m? (intermediate) anthony explains #222

preview_player
Показать описание
today I answer an interesting question which surprised me -- why is `python -c ...` faster than `pyhon -m ...` (even when they do the same thing)?

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

I recommend hyperfine to measure times over time but otherwise solid 🙏

Автор

This question isn't about something concrete in python, just a general advice question. What are some of the most pythonic packages that are easy to read/study and could be educational? What are, in your opinion, some great intermediate/advanced written resources for python in general?

MrHaste