• bitcrafter
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    Yeah but performance has way more to do with architecture than it does code readability.

    Indeed, I am a bit notorious at work for speeding C++ code up by rewriting it in Python, and I have been able to do this not because my Python code is particularly fast but because the architecture of the C++ code was such a complicated and inefficient mess that it actually managed to be slower than Python.

    • eluvatar
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      That just hurts me. I love to bag on Python for being slow. But that also totally makes sense.