Actually, I guess I should correct myself here:
1 1000 line file will (in general) compile faster than 1 10000 line file.
But 10 1000 line files should be almost identical to 1 10000 line file.
So you're right, it shouldn't make any difference.

On Fri, 16 Aug 2002, Alexander Nicholas Thaler wrote:

> No.  It may EFFECTIVELY comile as fast, but depending on your machine
> speed, that can very GREATLY.
>
> On Fri, 16 Aug 2002, Jason Gauthier wrote:
>
> > The compile times are questionable as well:
> >
> > 10 1,000 line files generally compiles as fast as 1 10,000 line file.
> >
> > -----Original Message-----
> > From: Alexander Nicholas Thaler [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 16, 2002 1:50 PM
> > To: Pell, Blake B
> > Cc: [email protected]
> > Subject: Re: Performance Question
> >
> >
> > It should only matter for compile times.  If you have a decent compiler
> > and linker (ie gmake and gcc) it should optimize the same no matter how
> > you have your files organized.
> >
> > On Fri, 16 Aug 2002, Pell, Blake B wrote:
> >
> > > This is something I've been curious about but never really been able to
> > find an answer for.  Would it be better to have extremely large files (like
> > act_wiz.c, fight.c pushing 15,000+ lines) or split the code up into smaller
> > files (for instance pulling reclass specific code into their own .c files)?
> > My question is, does this even matter?
> > >
> > > Rhien.
> > >
> > > --
> > > ROM mailing list
> > > [email protected]
> > > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> > >
> >
> > ----------------------------------------------------------------------
> > Alex Thaler
> > http://www.columbia.edu/~ant14                      ICQ: 24629153
> >
> > One thousand monkeys.  One thousand MicroVAXes.  One thousand years.
> >         X windows.
> >
> >
> > --
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
>
> ----------------------------------------------------------------------
> Alex Thaler
> http://www.columbia.edu/~ant14                        ICQ: 24629153
>
> One thousand monkeys.  One thousand MicroVAXes.  One thousand years.
>         X windows.
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>

----------------------------------------------------------------------
Alex Thaler
http://www.columbia.edu/~ant14                  ICQ: 24629153

One thousand monkeys.  One thousand MicroVAXes.  One thousand years.
        X windows.


Reply via email to