trick/trick_source
Alex Lin 02f7203597
Possible speedup for requesting sie file #1555 (#1570)
* 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];"
2023-09-15 07:54:29 -05:00
..
codegen/Interface_Code_Gen Fix c++20 flag for LLVM 10 (#1520) 2023-06-12 14:36:21 -05:00
data_products Add make spotless target to get rid of config info, patch together various other spots missed by clean (#1515) 2023-06-13 09:50:19 -05:00
er7_utils Destructor restart fixes 2022-09-01 09:37:15 -05:00
java 1504 trick run summary enhancement for memory used (#1545) 2023-08-24 13:51:19 -05:00
sim_services Possible speedup for requesting sie file #1555 (#1570) 2023-09-15 07:54:29 -05:00
trick_swig Ensure swig target folder is created (#1533) 2023-07-13 13:44:29 -05:00
trick_utils Add more Variable Server unit and integration tests, clean up and clarify naming 2023-06-26 12:23:58 -05:00
web Refactor and test Variable Server. 2023-06-26 12:23:58 -05:00
.gitignore Add a way to disable sim objects (#1364) 2022-11-15 09:16:08 -06:00