mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 17:42:42 +08:00
d659a1d78c
The minute history loader caching was incorrectly mimicking the daily history loader caching. Where caching the adjusted array on the last dt helps an access pattern of repeated calling history windows on the same day (which has an end_dt of the previous day), with minute windows the end dt is always moving forward, so the cached values are seldom used. (Would only be used if `history` was called with same parameters twice on the same simulation time.)