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
These micro-improvements will probably not be noticed in most use cases, but it improves the library and helps to understand and improve the library profiling.
The text was updated successfully, but these errors were encountered:
(venv) ➜ meiga git:(main) ✗ python benchmark/time_result.py
time when success: 591.8169169453904 ns
time when failure (no such key): 616.6854579932988 ns
time when failure (type missmatch): 653.6420419579372 ns
With result constructor optimization
(venv) ➜ meiga git:(main) ✗ python benchmark/time_result.py
time when success: 484.73962501157075 ns
time when failure (no such key): 684.1207499383017 ns
time when failure (type missmatch): 593.2172500761226 ns
With the help of cProfile, we can review possible optimizations.
Example
These micro-improvements will probably not be noticed in most use cases, but it improves the library and helps to understand and improve the library profiling.
The text was updated successfully, but these errors were encountered: