mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-14 11:15:09 +08:00
08fb7333d6
The use of `slice_indexer` on all market minutes was taking about 110ms on my development machine. This change to getting the start and end indices changes the entire `_calendar` method to take 10ms on the same machine. Noticed while creating a `HistoryLoader` in a notebook context.