[Freeciv-Dev] Re: (PR#6165) use memset instead of iteration
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Jason Short wrote:
> Greg had some concern over the slowdown caused by using an iterator to
> initialize the warmaps.
>
> Of course, we can still use memset. The only drawback is that the array
> elements must all be byte-sized.
Not true ...
... you can initialize both special and arbitrary values if you think about
it a bit more, or lookup the standard coding techniques.
> jason
Cheers,
RossW
=====
|
|