Re:Why is it faster to process a sorted array than an unsort...
by Ultimatt on Sunday September 17, 2017 @05:26AM
(#15268863)
Did you try with an actual array or a Python list? https://docs.python.org/3/library/array.html or numpy you might be able to recover the same effect. Your average line of Python is miles away from low level and simple operations. Pretty much any dynamic language with a large runtime is. Especially when they default to lists not arrays. You should see your result as evidence of that. Not assume this discussion is flawed.
[ Parent
| on HN ]
There are no comments on this comment yet.