Boost logo

Boost :

Subject: Re: [boost] Interest in Base2/16/32/64 Encoding Library?
From: Thomas Kemmer (tkemmer_at_[hidden])
Date: 2012-07-10 02:29:26

On Mon, Jul 9, 2012 at 12:40 PM, Maxime van Noppen <maxime_at_[hidden]> wrote:
> I have some code which is base64-encoding limited so this interests me
> particularly. Currently I use OpenSSL's implementation which I found to be
> the fastest in my case. So I ran a small benchmark against your library and
> it performed really well, though a bit slower. I manage to get 566.074 Mb/s
> with OpenSSL versus 517.928 Mb/s with stlencoder. The benchmark simply
> consists of loading a large file (~200 Mb) in memory and encoding it in a
> pre-allocated buffer. I've attached the source. Please tell me if you see
> anything wrong with it. I use g++ 4.7.1 with -03.

Thanks for your interest. I don't see anything principally wrong with
your code. You may have noticed the src/stlbench.cpp program, which
does some basic performance comparison between stlencoders and some
other encoding libraries, but not OpenSSL so far. It would be great if
you'd give a try and add OpenSSL support to that! Please send me a
patch if you find the time.



Boost list run by bdawes at, gregod at, cpdaniel at, john at