[Q] : Search performance
- From: Emmanuel <e allaud wanadoo fr>
- To: ML de Balsa <balsa-list gnome org>
- Subject: [Q] : Search performance
- Date: Sun, 11 Aug 2002 17:27:17 -0400
I had a look at the balsa-index code : I saw that we now use a hash table
to handle the search function. The problem I see with that is that we must
test all messages whereas we're just looking for the next or previous one
matching the condition. This is particularly suboptimal if you have a big
mailbox and you're looking for a susbstring contained in the message body.
I think we should just test one by one.
] [Thread Prev