Click here to Skip to main content
15,902,276 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Merging sorted data blocks. Pin
Member 419459315-Feb-11 7:30
Member 419459315-Feb-11 7:30 
AnswerRe: Merging sorted data blocks. Pin
dasblinkenlight14-Feb-11 22:29
dasblinkenlight14-Feb-11 22:29 
GeneralRe: Merging sorted data blocks. Pin
Member 419459315-Feb-11 4:47
Member 419459315-Feb-11 4:47 
QuestionRe: Merging sorted data blocks. Pin
musefan15-Feb-11 6:22
musefan15-Feb-11 6:22 
AnswerRe: Merging sorted data blocks. Pin
Member 419459315-Feb-11 7:02
Member 419459315-Feb-11 7:02 
AnswerRe: Merging sorted data blocks. Pin
Eddy Vluggen17-Feb-11 7:47
professionalEddy Vluggen17-Feb-11 7:47 
GeneralRe: Merging sorted data blocks. Pin
Member 419459317-Feb-11 15:16
Member 419459317-Feb-11 15:16 
GeneralRe: Merging sorted data blocks. Pin
Eddy Vluggen18-Feb-11 11:29
professionalEddy Vluggen18-Feb-11 11:29 
Member 4194593 wrote:
You suggest use a database.

No, my suggestion would involve Hadoop and a lot of PS2's Smile | :)

Member 4194593 wrote:
What database do you suggest?

Sql Server if you can afford it, although it would be an expensive solution just for sorting. Sql Express would do too, I guess. You can only pack 4 Gb in a database in the free version, but there's no problem in adding several databases to the server.

Member 4194593 wrote:
If I had this database, would I need to program it or configure it in some way?

Ideally, it'd use a bulk-import. You could also have it generate the index, but it'd be more fun to build such a thing by hand. The advantage would be that you can easily partition your data, even over multiple computers.

Member 4194593 wrote:
Is it as easy to use as executing sort.exe?

From the users' point of view, this would be easier as their data simply already appears to be sorted by applying the index.

Member 4194593 wrote:
Don't get me wrong, I've been programming since '65, I am familiar with databases and their overhead. I still do not believe that any database solution would be as fast, as cheap, or easy to use as something like sort.exe.

There's free databases that are scalable and well-documented. Yes, I get your point - but most people won't have a dataset that's this large, so the use-case shouldn't be built around your average user Smile | :)

Member 4194593 wrote:
Write your own sort to sort these files and sort the same files with sort.exe and compare the percentage faster your sort is than sort.exe for each file, and for the overall total testing (comparing this way evens the playing field for CPU, memory, and disk speed differences between your system and mine).

My gratitude for the challenge, but I don't have the time nor the hardware. Have you considered writing a CodeProject article on the subject?
I are Troll Suspicious | :suss:

GeneralRe: Merging sorted data blocks. Pin
Member 419459319-Feb-11 16:15
Member 419459319-Feb-11 16:15 
GeneralRe: Merging sorted data blocks. Pin
Eddy Vluggen20-Feb-11 1:29
professionalEddy Vluggen20-Feb-11 1:29 
GeneralRe: Merging sorted data blocks. Pin
Member 419459322-Feb-11 12:11
Member 419459322-Feb-11 12:11 
QuestionIn what mathematical/programming tasks are used sparse graphs? Pin
Marsellos5-Feb-11 3:06
Marsellos5-Feb-11 3:06 
AnswerRe: In what mathematical/programming tasks are used sparse graphs? Pin
Alan Balkany7-Feb-11 4:35
Alan Balkany7-Feb-11 4:35 
AnswerRe: In what mathematical/programming tasks are used sparse graphs? Pin
dasblinkenlight7-Feb-11 6:30
dasblinkenlight7-Feb-11 6:30 
QuestionMotion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB7-Jan-11 0:59
GDMFSOB7-Jan-11 0:59 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed Pin
Alan Balkany7-Jan-11 4:04
Alan Balkany7-Jan-11 4:04 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB9-Jan-11 19:29
GDMFSOB9-Jan-11 19:29 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed PinPopular
Roger Wright7-Jan-11 11:01
professionalRoger Wright7-Jan-11 11:01 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB9-Jan-11 19:25
GDMFSOB9-Jan-11 19:25 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed Pin
Keith Barrow8-Jan-11 3:04
professionalKeith Barrow8-Jan-11 3:04 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB9-Jan-11 19:34
GDMFSOB9-Jan-11 19:34 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
Member 1258471814-Jun-16 23:06
Member 1258471814-Jun-16 23:06 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed Pin
jk chan14-Jan-11 4:36
jk chan14-Jan-11 4:36 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB16-Jan-11 23:54
GDMFSOB16-Jan-11 23:54 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
jk chan17-Jan-11 2:28
jk chan17-Jan-11 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.