I think it's a FIFO algorithm - oldest cards are ejected first. But
Candice would know for sure.
- david
Seth Spitzer wrote:
> David,
>
>
> > I thought that the collected address book would automatically delete
> the
> > least recently used addresses from the address book when it was
> full? If
> > it doesn't then that's how I think it should work.
>
> the code that does the removal is nsAddrDatabase::RemoveExtraCardsInCab()
>
> I belive we use an LRU algorithm, but chuang or bienvenu would know for
> sure.
>
> >
> > It'd be the best way, imposing a time limit for expiry isn't the best
> > solution, you don't use Mozilla for a few weeks and you collected
> > address book empties.
> >
>
> That's a good point.
>
> -Seth
>
>