[patch, libstdc++] std::shuffle: Generate two swap positions at a time if possible

Marc Glisse marc.glisse@inria.fr
Thu Sep 1 15:27:00 GMT 2016


On Thu, 1 Sep 2016, Jonathan Wakely wrote:

>>> +	  const __uc_type __comp_range = __swap_range * (__swap_range + 1);
>
> If __swap_range is 3, then __comp_range is 10 and

???

-- 
Marc Glisse



More information about the Libstdc++ mailing list