You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For messages, measure the performance of dict vs. namedtuple vs. Python objects with slots.
(TypedDict instances are dict instances so they wouldn't change the runtime performance but they would improve mypy type checking and IDE code editing.)
Cythonize some inner loops.
Process-specific simulation time steps.
Mongita is an in-process library like sqlite for MongoDB. This eliminates the interprocess communication and the installation and startup work, esp. good for unit tests. Is one CPU process enough for simulation testing and debugging? Mongita's performance metrics don't look compelling.
I updated wcEcoli and stochastic-arrow to Python 3.11 and new library releases. There was a big optimization effort in Python 3.11 but it hardly mattered for wcEcoli! I guess most of the computation is happening in Numpy, Cython code, and Numba-compiled code.
Numpy should soon be able to use the 64-bit version of Apple's Accelerate (BLAS) library for major speedup, esp. on Apple Silicon.
The text was updated successfully, but these errors were encountered:
In addition to measure-and-tune experiments:
dict
vs.namedtuple
vs. Python objects with slots.I updated wcEcoli and stochastic-arrow to Python 3.11 and new library releases. There was a big optimization effort in Python 3.11 but it hardly mattered for wcEcoli! I guess most of the computation is happening in Numpy, Cython code, and Numba-compiled code.
Numpy should soon be able to use the 64-bit version of Apple's Accelerate (BLAS) library for major speedup, esp. on Apple Silicon.
The text was updated successfully, but these errors were encountered: