[Modeling-users] New script: mdl_compile_model.py
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-04-25 18:44:14
|
Hi, I've just checked-in (CVS HEAD) the script mdl_compile_model.py. It generates two modules: model_<modelName> and model_<modelName>_pickled. The former is the one already generated by mdl_generate_python_code.py, the latter one contains a pickled version of the model. Why a pickle model? Loading the pickle is really *much* faster than loading the xml file. I also updated the code generation so that the generated __init__.py tries to find and load the pickled model. -- S=E9bastien. |