| [Freeciv-Dev] Re: (PR#3781) Micro size of structs optimizations[Top] [All Lists][Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
 
On Mon, 24 Mar 2003, Rafa³ Bursig wrote:
> Attached patch almost don't change structs only sort variables. I
> change some types city.h to show that we can reduce size of game
> structs even more ( sizeof(struct city) : before 2128,after 2028 )
But is this really faster? Have you measured this?
While the patch may seem innocent enough, it breaks a lot of patches and
introduces sorting of variables in structs by optimization rather than
logic, which is not good for code readability reasons.
  - Per
 
 
[Freeciv-Dev] Re: (PR#3781) Micro size of structs optimizations,
Per I. Mathisen <=
Message not available
 
 |  |