bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18752: 24.3.94; Why is Cygwin Emacs 2x quicker than Windows Emacs?


From: Dani Moncayo
Subject: bug#18752: 24.3.94; Why is Cygwin Emacs 2x quicker than Windows Emacs?
Date: Sat, 18 Oct 2014 18:25:17 +0200

>> I'd like to understand what are the
>> advantages and drawbacks of optimized vs unoptimized builds.  Could
>> someone explain that to me, or tell me where could I read that
>> information?
>
> Unoptimized builds make debugging easier, but are about 2 - 2.5 times
> slower than optimized ones.  For that reason, the usual practice is to
> produce unoptimized builds for snapshots and pretests, but optimized
> ones for official releases.
>
> Latest GCC versions support a -Og optimization switch that gives you
> the best of both worlds.
>
>> Also, what should I do to produce an optimized build?  "nt/INSTALL"
>> shows an example of how to configure an unoptimized build, but there
>> is no example for an optimized one.  How about adding that lacking
>> example to the file?
>
> If you drop the "CFLAGS=" part, you get an optimized build by
> default.  The example of that is already in nt/INSTALL, even before
> the one that shows how to pass non-default CFLAGS.

Thank you.

-- 
Dani Moncayo





reply via email to

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