[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua "amalgamation" for 5-10% speed improvement and ease of use
- From: René Rebe <rene@...>
- Date: Wed, 27 Aug 2008 17:25:19 +0200
Joshua Jensen wrote:
----- Original Message -----
From: René Rebe
Date: 8/27/2008 6:08 AM
Note that all this is handled by modern compilers with link time
optimizations,
such as possible with LLVM and it's work is in progress for gcc. So
hopefully
this manually cat'ing together source files can soon be a relict of
the past :-)
The compile times are also seriously faster. In fact, for every
modern compiler I've worked with across many platforms, creating an
amalgamation file (we use the term 'lump') improves overall
compilation times in a major way.
I guess mostly C code then? Many mid-sized C++ files (making heavy use of
static polymorphisms) already bring quite some boxes to swap to disk, before
g++ is eventuallyed killed away Out Of Memory, ...
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name