I've made some experiments with build options (project properties of ocx). Here are results:
Size of ocx:
repository version 9.17 MB
mine 7.53 MB
speed of opening edit mode (15MB poly shapefile)
repository version ~11sec;
my version ~7sec;
My version has no differences in code (only additional methods/properties - I'll commit them soon).
It seems that differences in speed affect all functions which deal with COM classes like CShape, CExtents. The problem - I'm not sure which options have effect on speed.
Options I changed (exactly):
Linker\General Enable Incremental linking YES->NO (size depends on this option)
C/C++\Optimization Optimization Disabled->Full Optimization
C/C++\Code Generation Enable C++ Exceptions Yes(/EHsc)->No (it's not acceptable for release build I expect)
There are other differences with current SVN version (in SVN diff) but I don't know whether they are significant or not. I have updated versions of support libraries and haven't deleted any dependencies.
It seems we should review options used for release builds.
Edited 1 time(s). Last edit at 08/06/2009 10:14AM by Sergei.
In the new Release RC3 your suggestions will be used, except the C++ Exceptions.
RC3 will hopefully be released later today.
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
Follow me on Twitter MapWindow_nl to read when a new installer is published.
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
View my profile on LinkedIn