Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binary Search speed-ups

Status
Not open for further replies.

Skatanic

Programmer
Jun 25, 2002
37
US
If anyone knows of any good speed-ups to the plain old binary search, I would appreciate your input. I'm taking about ANYTHING, such as different ways to do the operations on bottom, mid, and top or do away with any assignments or comparisons. I've gotten a few, but my mind only goes so far. :)

Thanks,
Skatanic
 
bsearch... it is in search.h I believe. Should be fully optimized.

matt
 
You can get faster search results if you organize your data differently, if that is an option for you. Things like trees and hash tables.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top