‎2009 Nov 23 9:59 AM
Dear all ,
I have one query .
Every read statement Binary search keyword impartant or not .
For an ex::
Suppose I having records only 100 , that also i have to declare Binary search or not .
Regards ,
Shankar G. Jeya Dev
‎2009 Nov 23 10:05 AM
It is good to use Binary Search, though the real benefit is when there are more number of records.
‎2009 Nov 23 10:05 AM
It is good to use Binary Search, though the real benefit is when there are more number of records.
‎2009 Nov 23 10:18 AM
hi,
When we have relatively less number of records,we need not use the binary search. If we are using binary search, we have to sort the table. Sorting the table may take more time when compared to direct read statement without binary search .
regards,
Veeresh
‎2009 Nov 26 11:00 AM
In lesser number of records, using binary search will be an overhead because then u need to sort the entries also...
so u should use it for larger number of records only
‎2009 Nov 27 5:48 AM