4 ms·
Mine does. And I wrote it myself.
by lisper 7y ago
Mine does. And I wrote it myself.
- eru 7y agoYou could use a Bloom filter to save on memory. And perhaps empty it once a year, if necessary. (Ie so that replies to emails older than a year don't rank better than random emails.)
- lisper 7y agoI just throw all the subject lines into a database. The data volume is not even remotely close to the limits of a modern DB.
- eru 7y agoOh, I was thinking of how eg GMail could do it. It depends a bit on volume of spam compared to legitimate emails. GMail knows about all of your past outgoing messages anyway, but the bloom filter would allow to quickly drop spam. Google is already using Bloom filters to eg check locally in one service whether a cache in a different service is likely to be able to answer a query.
- deleted 7y ago[deleted]