Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] array duplicate check [C]

Good idea, but if you have to sort then you aren't going to get any advantage in sorting.

It depends on the particular situation. If the array is populated gradually then sorting it every time might be fairly trivial, and would benefit frequent searches of large arrays. Nguyen will have to decide which is better for his particular situation.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links