Roland's homepage

My random knot in the Web

Articles about programming

  1. On Python speed

    As an engineer, I write a lot of small python programs as tools for specific tasks. Generally, these are not large programs. Most of them are below 100 lines of code (“LOC”, as measured by cloc), although there are a few in the 300−400 LOC range.

    In this article, I will present some observations about these, and draw some conclusion from them.

  2. Python 3.11 speed comparison with 3.9

    Since Python 3.11.0 came out recently, I wanted to compare its speed with 3.9.15 on some of my own “benchmark” programs.

    Both versions are in the default configuration as built by the FreeBSD ports system.

    TL;DR Python 3.11 yielded speed improvements in the order of 25% in my tests.

Page 1 / 4 Page 2 →