glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] New unit allocation system almost done


From: Kai Antweiler
Subject: Re: [glob2-devel] New unit allocation system almost done
Date: Tue, 27 Mar 2007 20:40:19 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux)

> why would we want a queue of random numbers as we need to have a
> synchronized random generator (remember syncrand)

Oh, I didn't mean /dev/(u)random.
I thought that we could compute random numbers when we need them or
when cpu load is low and store them in a queue of n numbers until they
are needed.  Most of our code (as far as I know) depends on user
interaction.  Uniform randon numbers (without or prior to transformation)
fulfil stream concept.

Ok, this is independent of threads.  In combination with threads we
would have to take care that only one process works on the next
number on the time.

But is it worth the effort.  I must measure this sometime.
-- 
Kai Antweiler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]