>>105654867 (OP)This shouldn't surprise anyone? Python is an interpreted language, not a compiled one, so of course it's going to be slower because of the interpretation overhead. You don't use Python for speed, you use it because it's a braindead language that simplifies a lot of shit.
>>105655521Assembly languages could theoretically be the fastest but it depends on how skilled the assembly programmer is and if they can use all the little register/stack tricks and weird bitwise/math wizardry. To give an example of what I mean by that is that some processors don't have bare-metal instructions for things like multiplication or division (although most assembly editors have macros for that kind of thing) and if the programmer doesn't use bitwise operators to perform multiplication or division, and if they don't use hacky math wizardry either, then you might be looking at unironic O(n) time for something as simple as multiplication through incremental addition. Most modern instruction sets have multiplication though and assembly programmers hopefully know how to do math with bitwise operations.
I don't think most assembly programmers could write code that is faster than what the C/C++ compiler writes though. Those have had decades of work put into them to make the most optimized asm code.