quick+insertion details by microsoft(1997)

A

Am

hi
i came to know that microsoft improved the efficiency of quick sort
by using a cutoff
of 8 elements and continuing with insertion sort then, do anybody have
the details about it
please contant me.
 
I

Ivan Vecerina

: i came to know that microsoft improved the efficiency of quick sort
: by using a cutoff
: of 8 elements and continuing with insertion sort then, do anybody have
: the details about it
: please contant me.

The enhanced algorithm is called *introsort*, designed by David Musser.
http://en.wikipedia.org/wiki/Introsort
It is often used to implement std::sort.
 
P

Pete Becker

Ivan said:
: i came to know that microsoft improved the efficiency of quick sort
: by using a cutoff
: of 8 elements and continuing with insertion sort then, do anybody have
: the details about it
: please contant me.

The enhanced algorithm is called *introsort*, designed by David Musser.
http://en.wikipedia.org/wiki/Introsort
It is often used to implement std::sort.

That's a different enhancement.
 
P

Pete Becker

Am said:
hi
i came to know that microsoft improved the efficiency of quick sort
by using a cutoff
of 8 elements and continuing with insertion sort then, do anybody have
the details about it
please contant me.

You've just given the details. What's the question? (Note that just
about any algorithms book will talk about this enhancement)
 
A

Am

Thank you pete,but what i need is the internal details ie the
performance of algorithm for various input size and type.
 
A

Am

but intosort ,as you said begins with quick sort and ends up utilising
heap sort but i require info regarding quick and insertion sort
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top