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
Rolling median uses a basic SortedList implementation (binary search/insert on a Python list).
The SortedList implementation in sortedcontainers is more advanced and will scale better for larger window sizes.
This should be an added as an optional dependency (e.g. pip install rollling[extras]) and rolling median should use the third party sortedcontainers implementation if it's available:
Rolling median uses a basic
SortedList
implementation (binary search/insert on a Python list).The
SortedList
implementation in sortedcontainers is more advanced and will scale better for larger window sizes.This should be an added as an optional dependency (e.g.
pip install rollling[extras]
) and rolling median should use the third party sortedcontainers implementation if it's available:Some minor work is needed to make the
SortedList
method names compatible with the calls in the rolling median implementation (or vice versa).The text was updated successfully, but these errors were encountered: