Thanks for the replies.

Well a 20 MHz xtal is not the best since speeding up to 5 times is not enough. There will be an incresing number of keys and may reach up to 300 or 400. Imagine a PIC searching 400 6-8 byte numbers!!!

The binary tree is a good option. Did not think about it.

Thanks again.

Ioannis