[Freeciv-Dev] Re: (PR#4417) Use of ISAAC Random generator in Freeciv
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#4417) Use of ISAAC Random generator in Freeciv |
From: |
"Rafa³ Bursig" <bursig@xxxxxxxxx> |
Date: |
Mon, 16 Jun 2003 05:58:38 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
Dnia 2003.06.16 14:34, Per I. Mathisen napisa³(a):
>
> On Mon, 16 Jun 2003, Rafa? Bursig wrote:
> > Here is implementation of ISAAC random number generator for freeciv.
> > It is faster from current code ( ~3x ) and give better (IMHO)
> > result.
> > This patch is only proposition and don't replace old code fully
> > (savegame code is needed)
>
> Did you measure any increase in autogame speed? I'd like to see some
> numbers before optimization changes like this are seriously
> considered. I doubt this code has much performance impact.
>
I don't made any test on autogame only compare both code in outside
separate tree. (here it is much faster)
When you want full autogame test you need savegame code. I don't made
it becouse I'm not sure that it is need. ( I little misunderstand
reason of this part ).
> (And of course, code that doesn't work on 64bit is out of the
> question.)
>
Yes I know but this can be fixed in 2 way.
1) fix current code. ( see comments on
http://burtleburtle.net/bob/rand/isaacafa.html )
2) use other 64 bit version for this platform ( detect code )
Rafal
|
|