Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Sorting algorithms

Name: Anonymous 2007-11-25 21:41

I have a vector of a data structure i want to sort. My program works good, but when the amount of structures goes up, the program takes fucking ages to work. I don't want to piss around with bullshit sorting algorithms like bucket sort

I'm thinking about ordering it every time a new structure comes in. Whats the fastest way to order a vector of structures in c++?

Name: Anonymous 2007-11-25 21:43

Assume they come in in sorted order.

[quote]but when the amount of structures goes up, the program takes fucking ages to work. I don't want to piss around with bullshit sorting algorithms like bucket sort[/quote]

LOL I WANT 2 HAVE A BETTER SORTING ALGORITHM, BUT I DON'T WANT TO ACTUALLY IMPLEMENT A BETTER ONE.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List