Standard Forth versus Python: a case study
tjreedy at udel.edu
Thu Oct 12 05:20:04 CEST 2006
<idknow at gmail.com> wrote in message
news:1160619958.438049.53390 at h48g2000cwc.googlegroups.com...
> bearophileHUGS at lycos.com wrote:
> no sort() is needed to calculate the median of a list.
> you just need one temp var.
Of course. But for a short enough list, the builtin sort() method may be
faster than an O(n) algorithm coded in Python. And .sort() is already
More information about the Python-list