performance tuning, do not generate un-needed code for immutable models
ran linux 64 bit tests
tweak for MSVC, ran win32 tests
ran linux 32 bit tests
Merge branch 'perf' into develop