[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bloom filters (was: concurrency suggestions for Gnus)
From: |
Ted Zlatanov |
Subject: |
bloom filters (was: concurrency suggestions for Gnus) |
Date: |
Tue, 08 Feb 2011 08:41:38 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Tue, 08 Feb 2011 13:31:39 +0900 Miles Bader <address@hidden> wrote:
MB> Ted Zlatanov <address@hidden> writes:
Tom> If we went the "lock anything" route, I would suggest a weak hash table
Tom> for locks, instead of putting the lock into the object.
>>
>> A bloom filter would guarantee no false negatives, which as you noted is
>> the vast majority of the cases, requires very little space per element
MB> A bloom filter...?!
(changing the subject accordingly)
Basically a fast membership query that uses pairwise independent hash
functions. Runs in constant time, has no false negatives, and has a
false positive rate correlated to the number of bits per element. It
would actually be a nice addition to the Emacs core to have a C
implementation.
Ted
- Re: Installing `struct buffer' patch, (continued)
- Re: Patch for fields of `struct buffer', Daniel Colascione, 2011/02/01
- Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/06
- concurrency suggestions for Gnus (was: Patch for fields of `struct buffer'), Ted Zlatanov, 2011/02/07
- Re: concurrency suggestions for Gnus, Miles Bader, 2011/02/07
- Re: concurrency suggestions for Gnus, Andy Moreton, 2011/02/08
- Re: concurrency suggestions for Gnus, Justin Lilly, 2011/02/08
- bloom filters (was: concurrency suggestions for Gnus),
Ted Zlatanov <=
- bloom filters (was: concurrency suggestions for Gnus), Stephen J. Turnbull, 2011/02/08
- Re: concurrency suggestions for Gnus, Lars Ingebrigtsen, 2011/02/10
- Re: Patch for fields of `struct buffer', Stephen J. Turnbull, 2011/02/01
- Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/02/01