Re: Ver 4.0 start up speed.
- Posted by bernie Feb 24, 2009
- 854 views
I do not think that Win32Lib has yet been updated to have the proper include statements per its usage of library internal symbols. The last time I checked, there were ~6K such references from parsing Win32Lib itself.
The easiest way to speed up the start time of your code is to include the files you need from each file that needs them, and not to rely on global symbols being included by some other file.
I have no globals only public
I'll look closer at the way things are being included.
Could you please explain why "STD libraries" have been singled out for parsing avoidance? Or even what that means?
Matt
What I mean is; is each std/include file being parsed every time
they are included in a program ? Because they are full of comments
which takes up parse time. Some include files only contain one feature that is necessary for
a program; but the complete file is still parsed.