AB-CE / abce

Agent-based computational Economics, the Python library that makes AB modelling easier
http://abce.readthedocs.io
190 stars 64 forks source link

Threading db #65

Closed DavoudTaghawiNejad closed 7 years ago

DavoudTaghawiNejad commented 7 years ago

Change the db to threading instead of multiprocessing, which is much faster in single processor simulations

DavoudTaghawiNejad commented 7 years ago

Please don't merge there is a problem it blocks if one does not call simulation.finalize(), which should not happen as it should be called at del

DavoudTaghawiNejad commented 7 years ago

The bug was not introduced with this changes. It has been there before. Please merge in.

rht commented 7 years ago

(merged the commit that hasn't been introduced, the first two already had)