Daniel Egger <[EMAIL PROTECTED]> writes:

>> It is called once per tile. Your approach probably makes sense as long
>> as don't use g_rand_new() but g_rand_new_with_seed().  g_rand_new()
>> initializes the random number generator from /dev/urandom which is
>> probably too expensive to be done once per tile.
> Incidentally this is exactly what I'm testing right now. ;=)

Incidentally that is what the code in CVS is doing. Looks like we were
working on the same code. We should perhaps start using mutexes on the
source code ;)

Gimp-developer mailing list

Reply via email to