▲ 31 ▼ Counting CPU Instructions in Python (blog.mattstuchlik.com) submitted 2 years ago by rimu@piefed.social to c/python@programming.dev 19 comments fedilink hide all child comments 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?
[–] eager_eagle@lemmy.world 8 points 2 years ago* so 200 to 800 microseconds on a modern cpu? Fast enough. permalink fedilink source