Save empty dates and dseries objects in memory (base workspace) instead of disk (faster). Added an initialization mode for dates and dseries constructor. The following commands:
dates('initialization'); dseries('initialization'); create variables emptydatesobject and emptydseriesobject in base workspace.issue#70
parent
63706abf2b
commit
a6ffab3e7f
|
@ -554,6 +554,10 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool no_log, b
|
||||||
mOutputFile << "clear all" << endl;
|
mOutputFile << "clear all" << endl;
|
||||||
|
|
||||||
mOutputFile << "tic;" << endl
|
mOutputFile << "tic;" << endl
|
||||||
|
<< "% Save empty dates and dseries objects in memory." << endl
|
||||||
|
<< "dates('initialize');" << endl
|
||||||
|
<< "dseries('initialize');" << endl
|
||||||
|
<< "% Define global variables." << endl
|
||||||
<< "global M_ oo_ options_ ys0_ ex0_ estimation_info" << endl
|
<< "global M_ oo_ options_ ys0_ ex0_ estimation_info" << endl
|
||||||
<< "options_ = [];" << endl
|
<< "options_ = [];" << endl
|
||||||
<< "M_.fname = '" << basename << "';" << endl
|
<< "M_.fname = '" << basename << "';" << endl
|
||||||
|
|
Loading…
Reference in New Issue