Boost logo

Boost :

Subject: Re: [boost] Removing auto_ptr/etc. from Boost
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-19 15:55:58


AMDG

On 03/19/2015 01:33 PM, Stephan T. Lavavej wrote:
> [STL]
>> (mt19937 is awesome, but at 5 KB I'd be slightly nervous about making it thread_local.)
>
> [Steven Watanabe]
>> boost::mt19937 is only 2.5 KB.
>
> Thanks - I see where the factor of 2 is coming from, although it'll need a bit more thought to untangle. I've filed a bug in our internal database.
>

  It's quite painful. If you update the entire
buffer in a single pass, you need to invert
the state transition function to implement
streaming correctly. libc++ only updates
a single element at a time, which is noticeably
slower, and last time I checked libstdc++, its
output format was wrong.

In Christ,
Steven Watanabe


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