Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lrucache added to strip_datetime, this function is used a lot, especa…
…illy when lightweight is False and objects are created. Using a cache can dramatically reduce function calls: base: 63,434,263 function calls (63430548 primitive calls) in 52.407 seconds 1,723,088 0.986 0.000 1.962 0.000 /betfairlightweight/resources/baseresource.py:22(strip_datetime) 58,113,867 function calls (58110152 primitive calls) in 47.575 seconds 30,231 0.069 0.000 0.134 0.000 /betfairlightweight/resources/baseresource.py:23(strip_datetime) eventId 29761984 marketId 1.170258201 used (30230 updates)
- Loading branch information