Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2350) Remove dependencies
Home

[Freeciv-Dev] Re: (PR#2350) Remove dependencies

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2350) Remove dependencies
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 16 Nov 2002 00:06:26 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Nov 15, 2002 at 03:16:01PM -0800, Per I. Mathisen via RT wrote:
> 
> On Fri, 15 Nov 2002, Raimar Falke via RT wrote:
> > The attached patch moves code to {city,conn,unit}_list.[ch]. Since
> > most of the time we aren't interrested in the layout of struct city
> > and co but are interrested in the lists (to embed them). Moving them
> > out makes it possible to cut down the dependencies (meaning than fewer
> > files are recompiled if connection.h is changed for example).
> 
> Any advantages apart from "fewer recompiles"? If not, I don't quite see
> the point. I like keeping it together and the files few in number.

I wasn't honest ;) It is also a preparation for inlining.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The BeOS takes the best features from the major operating systems. 
  It's got the power and flexibility of Unix, the interface and ease 
  of use of the MacOS, and Minesweeper from Windows."



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