Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 10-28-2005, 03:50 AM   #1
Beta Member
Join Date: Oct 2005
Posts: 2
Default Fastest search Algorithm

I have a list of around 10000 algos.
There are lot of search algorithms available
Which one is the most efficient one to use.?
Why is it more efficient?

Help me out!

forumforme is offline   Reply With Quote
Old 10-28-2005, 11:08 AM   #2
Baseband Member
Griz803's Avatar
Join Date: Jun 2004
Posts: 89
Default Re: Fastest search Algorithm

Well, that will depend on the type and number of records to be searched as well as the access method and whether it is direct from a disk file or a buffer in RAM. It will also be dependant on the layout of the data file, such as binary tree, linked list or flat ASCII file. Usually, for most small data bases hobbyists are involved with, it doesn't make much real difference except for educational purposes. The real advantage to one over the other comes as you increase the size of the data searched and the number of searches made. I hope that these generalities help you see that there isn't one specific best answer to this question in all cases. As a generalization, it is usually most efficient to save data into a properly formed binary tree and search accordingly. Google around a bit and you should find several excellent tutorials and articles. I hope this helps.

/*What does not kill us, makes us drink far too much caffeine*/
Griz803 is offline   Reply With Quote
Old 10-28-2005, 10:02 PM   #3
Daemon Poster
RewtGuy's Avatar
Join Date: Dec 2004
Posts: 595
Send a message via AIM to RewtGuy
Default Re: Fastest search Algorithm

Different algorithm have different ways of searching for something. Some may be better suited for certain situations than others.
Windows: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
RewtGuy is offline   Reply With Quote

« Vb Tapi | dev c++ »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 04:03 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0