mirror of
https://github.com/nasa/trick.git
synced 2024-12-23 15:02:25 +00:00
02f7203597
* Possible speedup for requesting sie file #1555 When creating the sie file there is a marker string that Trick searches for where it writes the run time allocated memory. The loop that was searching for the string was iterating one character at a time and reading from file each time. This was slow. Changed the loop to read 1Mb into memory at a time and search for the string. Handled the case where the marker string could straddle the 1Mb boundary by copying a small portion of the previous part of the file for the next search. For my one test point sie file generation dropped from 90+ seconds to 3.5 seconds. * Possible speedup for requesting sie file #1555 Math was wrong on some offset values. Fixed them now. * Possible speedup for requesting sie file #1555 The mac won't allow me to declare a "char buff[1000001];". It compiles but throws an exception when run. Changed it to "char *buff = new char[1000001];" |
||
---|---|---|
.. | ||
AttributesMap.cpp | ||
EnumAttributesMap.cpp | ||
Makefile | ||
Makefile_deps | ||
sie_c_intf.cpp | ||
Sie.cpp |