On Mon, Nov 28, 2016 at 3:19 PM, Thompson, David
<dthomps...@worcester.edu> wrote:
> On Mon, Nov 28, 2016 at 3:47 AM, Jan Synáček <jan.syna...@gmail.com> wrote:
>> On Fri, Nov 25, 2016 at 9:36 AM,  <to...@tuxteam.de> wrote:
>> ...
>> Yes, but even a small (about 3 modules and a few 100s LoC) project of
>> mine compiles about 3 times slower.
>
> The compiler now performs many more optimizations.  If you want faster
> compile time, turn off optimizations with 'guild compile -O0'.  Read
> the output of 'guild compile -Ohelp' for more information.

Manually compiling the main source file with -O0 takes about 3.2s,
without any options it takes about 4.0s. So that seems to help a bit,
thank you. Is there a way to fine tune the optimizations (or any other
compiler options) when running a guile program from a script? I
couldn't find any information about that in the manual.

-- 
Jan Synáček

Reply via email to