Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How BLITZ works?
Re: How BLITZ works? [message #696 is a reply to message #695] |
Wed, 25 January 2006 21:35 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
Yes, that is correct. Nothing is perfect... (Just a note, you cannot use two classes with identic names - possible name clash when linking, as methods are always defined as non-static globals).
It is up to you to decide whether 4x times speedup is worth the trouble. And you can always switch BLITZ off, either using #pragma or in Output mode dialog (even on per-package basis).
From my perspective, U++ development in Linux would be nearly impossible without BLITZ... (there is a huge difference between 40 minutes or 10 minutes to compile TheIDE). And while it can affect your code in ways you mention, usually worst thing to happen is compile time error. In reality, most of C++ code works with BLITZ just fine out of box and rest can be fixed in minutes.
BTW, one thing I forgot to mention: You can, with some effort, resolve the issues with static variables in specific cases (U++ needs that to implement stuff linke INIT_BLOCK in Core/Defs.h):
BLITZ_INDEX__
is defined with specific number for each file included in BLITZ group. Somewhat ugly, but working...
|
|
|
|
|
How BLITZ works?
By: hojtsy on Wed, 25 January 2006 14:20
|
|
|
Re: How BLITZ works?
By: mirek on Wed, 25 January 2006 18:30
|
|
|
Re: How BLITZ works?
By: hojtsy on Wed, 25 January 2006 19:36
|
|
|
Re: How BLITZ works?
By: mirek on Wed, 25 January 2006 20:21
|
|
|
Re: How BLITZ works?
By: mirek on Wed, 25 January 2006 20:23
|
|
|
Re: How BLITZ works?
By: hojtsy on Wed, 25 January 2006 21:19
|
|
|
Re: How BLITZ works?
By: mirek on Wed, 25 January 2006 21:35
|
|
|
Re: How BLITZ works?
By: hojtsy on Thu, 02 February 2006 15:14
|
|
|
Re: How BLITZ works?
By: mirek on Thu, 02 February 2006 20:34
|
|
|
Re: How BLITZ works?
By: hojtsy on Thu, 02 February 2006 21:59
|
Goto Forum:
Current Time: Wed May 15 06:38:58 CEST 2024
Total time taken to generate the page: 0.02565 seconds
|