Boost logo

Boost :

Subject: Re: [boost] [bloom_filter dynamic_bitset] Serialization support
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2010-01-11 13:29:32


Hi Paul!

On Tue, Jan 12, 2010 at 1:21 AM, Paul Fee <pfee_at_[hidden]> wrote:
> I've been looking at the Bloom filter implementation in the sandbox area:
>
> https://svn.boost.org/trac/boost/browser/sandbox/bloom_filter
>
> A previous email thread implied serialization was available, but I don't see
> it in svn.
>
> http://lists.boost.org/Archives/boost/2009/06/152731.php
>
> Is the serialization code available somewhere?
>

Unfortunately I've not been actively updating the implementation to
get it to a point worthy of becoming Boost-compliant. There are a
number of refactoring tasks that I need to complete for it to be
extensible and clean enough for my and others' liking.

One of those yet to be implemented is the serialization of bloom filters.

> I've made an attempt at implementing this myself.  In doing so I had to
> implement serialization for boost::dynamic_bitset.
>
> The dynamic_bitset serialization code may be useful independent of Bloom
> filters.  The Bloom filter serialization in turn makes use of dynamic_bitset
> serialization.
>
> I've uploaded my implementation to the boost vault:
> http://www.boostpro.com/vault/index.php?directory=serialization
>
> Perhaps I should supply tests, example usage and documentation, but I'm
> hoping to get advice on Boost best practise before going too far in the
> wrong direction.
>

Cool. I'll try to take a look and see if I can comment on the implementation.

> I'd like to see dynamic_bitset serialization in Boost proper and
> bloom_filter serialization alongside the existing code in the sandbox area.
>
> Can I request a sandbox account to upload code there?
>
> All comments welcomed.
>

I'd like to see that too. When you get the sandbox account please feel
free to make that happen. :)

> Thanks.
> Paul Fee
>

Thanks to you too Paul!

-- 
Dean Michael Berris
cplusplus-soup.com | twitter.com/deanberris
linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk