Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'hettinger': 0.07; 'recipe': 0.09; 'url:activestate': 0.09; 'pm,': 0.10; 'wrote:': 0.14; 'subject:Filter': 0.16; 'subject:lines': 0.16; 'cache': 0.16; 'cc:addr:python-list': 0.17; 'url:code': 0.17; 'simpler': 0.19; 'header:In-Reply-To:1': 0.21; 'raymond': 0.22; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'optional': 0.23; 'fri,': 0.23; 'message-id:@mail.gmail.com': 0.28; 'thanks': 0.28; 'code,': 0.29; 'updated': 0.29; 'cc:addr:python.org': 0.30; "i've": 0.33; 'received:209.85.212': 0.34; 'feedback': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'earlier': 0.38; 'subject:: ': 0.38; 'subject: (': 0.39; 'received:209': 0.39; 'easily': 0.60; 'more': 0.60; 'subject:updated': 0.84; 'received:209.85.212.178': 0.91; 'received:mail- px0-f178.google.com': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sXtCNndwUMr2hbknD0BrnFJx0Hj630TvXLOheL7Fp90=; b=EBZYj9Ul0X55wwZDzXQgzKKgX6tlPvguycnoCudQUOGeQ5mJf//IFlZNQMC6UWTg1S o/05hpuRYG1dckFxf0VATeyQOpddmBnXmk3lzpG0AqvTEDX+BRRenC5MqeARncCUiLEM Q5D0KtljYjhJJyS9G07SlvFEai9dzxRX8c5LI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CV0lfChE+CjyhZRQB3RowBNx7CdU6xY7gYYSgoNvOob9Rp3Wg80ERU52bnIDvm8yeq LDz6Oosp6nETpp9TbKUg7uwNgMikkiwLfddthLg1vA9/3kMGtbWdp30RV8v/5muAZ8IS eCT+e4wEiURJL7uBsV/sn/2gqQyrHcibEmTvc= MIME-Version: 1.0 In-Reply-To: <5a03279e-993e-4a35-9220-da5014d68430@34g2000pru.googlegroups.com> References: <5a03279e-993e-4a35-9220-da5014d68430@34g2000pru.googlegroups.com> Date: Mon, 6 Jun 2011 10:47:33 -0700 Subject: Re: Bloom Filter in 22 lines of Python (updated) From: geremy condra To: Raymond Hettinger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307382457 news.xs4all.nl 49048 [::ffff:82.94.164.166]:35388 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7102 On Fri, Jun 3, 2011 at 1:17 PM, Raymond Hettinger wrote: > Thanks for all the feedback on the earlier post. > > I've updated the recipe to use a cleaner API, simpler code, > more easily subclassable, and with optional optimizations > for better cache utilization and speed: > > =A0http://code.activestate.com/recipes/577684-bloom-filter/ Any chance of this landing in collections? Geremy Condra