qbrundage.com— Have you ever used rand() or Math.Random() or System.Random or java.util.Random? You could do a lot better. Did you know that these use one of the slowest and least random algorithms available?
Apr 24, 2006View in Crawl 4
I'm working on Monte Carlo simulation system now now and the default random number generator is one of the bottlenecks I'm trying to get around (yes I profiled).
I know NOTHING about this, but I'm going to pretend I do. My comment is that either something is random or it is not, so 'more' or 'less' random is silly. Perhaps 'closer to random' or 'farther from random' would be appropriate?
Time for a coincidental, one-liner extravaDanza.1.) So you're calling me slow and predictable? I guess I'll go back to slashdot...2.) And all those programmers said "It's not you, it's me." I guess I know the truth now.3.) Oh sure, a new, tight, 'fun' algorithm comes along, and I get kicked to the curb like so many lines of Perl.4.) Kaaahhhnnn!5.) Have I used ME? That makes me feel tingly in a recursive way...6.) Sure, you can switch to a new random number generator, but every time you use it, you'll first type my name, and then have to backspace six times.7.) When Chuck Norris was told the Mersenne Twister was not a variation on the Roundhouse Kick, he promptly roundhouse kicked Matsumora and Nishimura. It was logged by me in wikipedia as the most random thing to ever happen. Me, baby, ME. I win. I win one to nothin'.
eiderduckApr 24, 2006
I'm working on Monte Carlo simulation system now now and the default random number generator is one of the bottlenecks I'm trying to get around (yes I profiled).
tnsimonsonApr 24, 2006
"Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin." -John von Neumann
phcreatesApr 24, 2006
I know NOTHING about this, but I'm going to pretend I do. My comment is that either something is random or it is not, so 'more' or 'less' random is silly. Perhaps 'closer to random' or 'farther from random' would be appropriate?
rand__Apr 25, 2006
Time for a coincidental, one-liner extravaDanza.1.) So you're calling me slow and predictable? I guess I'll go back to slashdot...2.) And all those programmers said "It's not you, it's me." I guess I know the truth now.3.) Oh sure, a new, tight, 'fun' algorithm comes along, and I get kicked to the curb like so many lines of Perl.4.) Kaaahhhnnn!5.) Have I used ME? That makes me feel tingly in a recursive way...6.) Sure, you can switch to a new random number generator, but every time you use it, you'll first type my name, and then have to backspace six times.7.) When Chuck Norris was told the Mersenne Twister was not a variation on the Roundhouse Kick, he promptly roundhouse kicked Matsumora and Nishimura. It was logged by me in wikipedia as the most random thing to ever happen. Me, baby, ME. I win. I win one to nothin'.
doodApr 29, 2006
The C R250/R521 programs call rand() multiple times -- I'm not sure how that would be faster than calling rand() once?
handeymanMay 11, 2006
haha suck my dick Tezkah you know how much traffic I get from posting my link in comments