Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Using BLITZ in release mode CLANG
Using BLITZ in release mode CLANG [message #57097] Tue, 25 May 2021 10:08 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
So far, the default configuration is not using BLITZ in release mode. There are two reasons for this:

a) MSC could not handle it (results in internal compiler error, probably due to .obj files getting too big)
b) There was a hope that not using BLITZ in release mode can improve the size of resulting binary

That said, with CLANG the first concern is irrelevant, works just fine in Win32. So maybe we should have BLITZ active by default for at least CLANG.

I have put this theory to test with TheIDE (in Win32):

Non BLITZ (using precompiled headers): size: 19003904, built in 5:00
BLITZ: size: 19454976, built in 1:39

So based on this, definitely worth it. That small difference in size can be attributed to additional speed optimizations (perhaps something more got inlined in BLITZ mode).

What about your projects? Is going BLITZ in release by default a good idea?

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: problems compiling nightly on MSVS2019/2017 nested lambda's
Next Topic: WString vs Grapheme Cluster idea (with possible flaw)
Goto Forum:
  


Current Time: Sat Apr 27 22:32:10 CEST 2024

Total time taken to generate the page: 0.03403 seconds