News for hackers. Stuff that matters.
Re:Python consumes 38x more energy than Java by mg on Thursday July 13, 2023 @08:40AM (#36708245)
When I up the loop size by a factor of 10, Python takes 10x longer. So I don't think the compile time plays a role here.

Similar for the PHP version.

    python3 loop.py
    3.450s

    time php loop.php
    0.469s
So PHP is 7x faster for the longer loop.

There are no comments on this comment yet.