Boost logo

Boost Users :

Subject: Re: [Boost-users] Random library, discrete distribution
From: er (erwann.rogard_at_[hidden])
Date: 2009-08-17 23:43:40


Steven Watanabe wrote:

> Your test isn't quite right. You're comparing the
> speed of categorical to itself for sampling.
>

Here's a correction:
--initialize, n = 10000
categorical : t = 0.013616
discrete : t = 0.001571
--sample, m = 100000
categorical : t = 0.029282
discrete : t = 0.014483


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net