[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thoughts on new modes (Ie)
Christophe> * +e entries are removed once they no longer match a
Christophe> current ban
Sam> What is the cost of computing this? If you have 9 +b left and 10
Sam> +e, it seems to me that in the worst case you may have 90 matches
Sam> to test. This may become even more costly if in the future those
Sam> limits get raised (to say 20) to adapt to the growing userbase.
Thinking more about this, you can also keep two bitmaps by channel to
remember which ban matches which +e and vice-versa, and keep the cost
and space reasonable.
Sam
--
Samuel Tardieu -- sam@xxxxxxxxxxx