lkml.org 
[lkml]   [1998]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.xxx makes Electric Fence 22x slower
>
>A simple lagged-fibonacci generator like x[i] = x[i-24] + x[i-55] would
>do fine. Moving to a twisted generator (TGFSR) improves things even more.
>What is arguably the best PRNG currently existing, the Mersenne Twister
>(Can you say "perfect score on the spectral test with up to 600 dimensions",
>boys and girls?), is quite fast.
>

MT19937 has a period of 2^19937 - 1, with a "623-dimensional equidistribution
property". It's available from http://www.math.keio.ac.jp/matumoto/emt.html .
Don't kill their machine though.


Marnix Coppens

---
Reality is that which | Artificial Intelligence
when you stop believing | stands no chance against
in it doesn't go away. (Philip K. Dick) | Natural Stupidity.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.034 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site