3 ms·
LOL. The amount of machinery going on under the hood in evaluating those expressions in CPython is staggering. A microscopic detail like a single instruction da
by epcoa 3y ago
LOL. The amount of machinery going on under the hood in evaluating those expressions in CPython is staggering. A microscopic detail like a single instruction data dependency has nothing to do with it. (How many CPU add instructions are executed just for those statements? Probably hundreds.)
This is much more likely a quirk of the interpreter (or possibly a fucked up test).
CPU details are like 10000 feet down.
- reitzensteinm 3y agoYou're absolutely right, but laughing at the notion is unnecessarily rude.
- epcoa 3y agoYou’re right. Though it is the scenario in my head playing out of someone slaving over an architecture optimization manual while, zoom out, editing Python that was comical, rather than making fun of anyone specifically.