Click here to Skip to main content
15,915,328 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Threading problem Pin
Luc Pattyn15-Feb-11 7:57
sitebuilderLuc Pattyn15-Feb-11 7:57 
GeneralRe: Threading problem Pin
Anthony Mushrow15-Feb-11 8:10
professionalAnthony Mushrow15-Feb-11 8:10 
QuestionMerging sorted data blocks. Pin
Member 419459313-Feb-11 16:59
Member 419459313-Feb-11 16:59 
AnswerRe: Merging sorted data blocks. Pin
Luc Pattyn14-Feb-11 1:15
sitebuilderLuc Pattyn14-Feb-11 1:15 
AnswerRe: Merging sorted data blocks. Pin
Member 419459314-Feb-11 4:00
Member 419459314-Feb-11 4:00 
GeneralRe: Merging sorted data blocks. Pin
Stefan_Lang14-Feb-11 23:25
Stefan_Lang14-Feb-11 23:25 
GeneralRe: Merging sorted data blocks. Pin
Member 419459315-Feb-11 4:41
Member 419459315-Feb-11 4:41 
GeneralRe: Merging sorted data blocks. Pin
Stefan_Lang15-Feb-11 5:31
Stefan_Lang15-Feb-11 5:31 
Sorry, 'several orders of magnitude' was probably overstating. I've been thinking of one particular case where a database solution outperformed a file-based solution by a factor of ~15-20. But when I think about it, part of the acceleration may have been due to the algorithms being used, so 'one order of magnitude' might be closer to the real thing.

I've also thought of another case with a 120 GB database of geographical data that turned out to be so fast that my algorithms to dig out some geometrical properties out of a given (and comparatively small) result set were much more time critical than the two-dimensional search to find the data in a particular geographical region. On a sidenote, that was about 15 years ago, so I doubt the database server was all that much faster than your current PC.

In both cases I was just the 'user' of the data though - I am not a database specialist. I just wanted to point out that your opinion of databases might be premature, not that I could write down a solution in 5 minutes.

Anyway, if you want me to try you'd have to wait for a month or two as the single hard disk in my 5-year old PC has barely enough room to fit one of those 6 GB files; forget about 5. Dead | X|
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 
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 

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.