Did you know it takes about 17,000 CPU instructions to print(“Hello”) in Python? And that it takes ~2 billion of them to import a module?

  • @grue
    link
    English
    710 months ago

    If I needed speed, I’d be programming in Python but then profiling the performance and re-writing the inner loops and such to call C or BLAS.