This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/57925] discrete_distribution can be improved to O(1) per sampling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]