Not sure why I chose the list index to be dict-order and renumbered whenever series were added or deleted...
It would be much better if the list index were just serial numbers, just increased for every add.
This would need to store the list index in the series entry itself (in the epm:meta), not a big deal.
Also, a next_list_index could be stored on the top-level (in its epm:meta), so we don't need to compute it when adding a new series.
Not sure why I chose the list index to be dict-order and renumbered whenever series were added or deleted...
It would be much better if the list index were just serial numbers, just increased for every add. This would need to store the list index in the series entry itself (in the
epm:meta
), not a big deal.Also, a
next_list_index
could be stored on the top-level (in itsepm:meta
), so we don't need to compute it when adding a new series.