[erlang-questions] Priority queues and Erlang
Mon Jun 15 07:02:42 CEST 2009
Somebody claiming to be John Haugeland wrote:
> > Had you written 'insertion sort', I'd have believed you.
> I don't expect anyone to believe me without benchmarking. However,
> it'd be nice also if nobody vocally disbelieved me in public without
> benchmarking. Real performance is frequently counterintuitive.
Can you provide ANY data set for which this bubble sort:
(or even this one:
will beat this insertion sort:
(Hint: It has at least 9 elements.)
Plan your future! Make God laugh!
More information about the erlang-questions