Re: "Sorting" assignment
- From: "Malcolm McLean" <regniztar@xxxxxxxxxxxxxx>
- Date: Tue, 5 Feb 2008 12:01:11 -0000
"Bartc" <bc@xxxxxxxxxx> wrote in message
I'd made a claim in this thread that bubble sort's speed might be acceptableGenerally if the number of operations is trivial, you'll start to notice an N^2 algorithm at N = 1000. It means 1 million operations, or say 100 million machine instructions, which is a fraction of a second on a 3GHz machine. You'll just notice the screen flicker as it updates.
for N in the hundreds. My test (on simple memory-based data and on my
machine) showed this could well be true.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm
.
- Follow-Ups:
- Re: "Sorting" assignment
- From: spinoza1111
- Re: "Sorting" assignment
- References:
- "Sorting" assignment
- From: Ivica
- Re: "Sorting" assignment
- From: spinoza1111
- Re: "Sorting" assignment
- From: Bartc
- Re: "Sorting" assignment
- From: spinoza1111
- Re: "Sorting" assignment
- From: Bartc
- "Sorting" assignment
- Prev by Date: Re: best language
- Next by Date: Re: best language
- Previous by thread: Re: "Sorting" assignment
- Next by thread: Re: "Sorting" assignment
- Index(es):