This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/57925] discrete_distribution can be improved to O(1) per sampling
- From: "yangzhe1990 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Jul 2013 03:26:49 +0000
- Subject: [Bug libstdc++/57925] discrete_distribution can be improved to O(1) per sampling
- Auto-submitted: auto-generated
- References: <bug-57925-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57925
--- Comment #2 from yangzhe1990 at gmail dot com ---
(In reply to Paolo Carlini from comment #1)
> Ok, but since you don't seem to have a Copyright assignment on file, we
> can't really use your code and we would have to, eg, adapt from scratch the
> GSL code or something entirely different. Are you willing to assign the
> Copyright to FSF? I can send you the questionnaire to request the official
> forms.
Cool. Feel free to use or modify my code, or do anything on this code. It's
public domain.
BTW, boost also implemented this algorithm.