Re: Issue with c++11 header random.h

2012-12-03 Thread Ed Smith-Rowland
On 12/03/2012 11:29 AM, Paolo Carlini wrote: Hi, On 12/03/2012 04:54 PM, Nolen, Steven D wrote: In the c++11 headers for the random number generation (random.h), the function "discard" for the linear_congruential has been implemented in a very inefficient manner. As I mentioned when we optimiz

Re: Issue with c++11 header random.h

2012-12-03 Thread Paolo Carlini
Hi, On 12/03/2012 04:54 PM, Nolen, Steven D wrote: In the c++11 headers for the random number generation (random.h), the function "discard" for the linear_congruential has been implemented in a very inefficient manner. As I mentioned when we optimized a while ago the discard member function f

Re: Issue with c++11 header random.h

2012-12-03 Thread David Edelsohn
On Mon, Dec 3, 2012 at 10:54 AM, Nolen, Steven D wrote: > In the c++11 headers for the random number generation (random.h), the > function "discard" for the linear_congruential has been implemented in a very > inefficient manner. Many modern Monte Carlo codes require this function to > work ef

Issue with c++11 header random.h

2012-12-03 Thread Nolen, Steven D
In the c++11 headers for the random number generation (random.h), the function "discard" for the linear_congruential has been implemented in a very inefficient manner. Many modern Monte Carlo codes require this function to work efficiently across large strides through the random number stream.