On 10/24/06, Johannes Berg <[EMAIL PROTECTED]> wrote:
On Tue, 2006-10-24 at 11:59 -0400, Luis R. Rodriguez wrote:
> also if we index based on alpha3 we get O(1)
> access to the elements. Will make these changes.
I wouldn't do that, it's bound to make the array size explode because
there'll be one country starting with A and one starting with Z.
You are right.
Probably better to do a binary search and make sure (by hand) it's
sorted.
Will work on it when I get time, thanks.
Luis
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html