searching based on 2 keys
- From: hungryforc@xxxxxxxxxxx
- Date: 30 Jun 2005 09:15:38 -0700
Hello,
Suppose I have the following table:
key value
---- -----
2 foo
24 bar
12 baz
Now I need an efficient algorithm so that I can search based on either
the key or the value. One of the solutions is to use 2 tables - but we
are heavily memory constrained and that is not a solution. Are there
any other suggestions that I can try?
Thanks,
~Gee
.
- Follow-Ups:
- Re: searching based on 2 keys
- From: No Such Luck
- Re: searching based on 2 keys
- Prev by Date: Re: Redirect IFrame links
- Next by Date: Re: searching based on 2 keys
- Previous by thread: newbie question [C language]
- Next by thread: Re: searching based on 2 keys
- Index(es):
Relevant Pages
|