mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
3187dd9012
std::endl flushes the output stream. The SIE functions were using it multiple times per variable. This can have significant performance impacts on file I/O. In testing, the S_sie.resource file for SIM_parachute was flushed over 14000 times, each resulting in a separate write system call. With this patch, only ~40 write calls were performed, and writing the file took ~1/3 as long. For more information, see https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rio-endl |
||
---|---|---|
.. | ||
AttributesMap.cpp | ||
EnumAttributesMap.cpp | ||
Makefile | ||
Makefile_deps | ||
sie_c_intf.cpp | ||
Sie.cpp |