Are simple hardcoded arithmetics cached/compiled away?

Viewed 58

I would like to know if python caches / compiles away in its .pyc files simple arithmetics like 5*5+5.

Sometimes I like to write if seconds > 24*60*60 for a day for example. I know that the effect on performance is unnoticeable but I'm curious nevertheless.

1 Answers
Related