|
|
@@ -15,8 +15,7 @@ Intervals are closed, ie. they include timestamps [start, end] |
|
|
|
# Third version is more similar to the first version, using a rb-tree |
|
|
|
# instead of a simple sorted list to maintain O(log n) operations. |
|
|
|
|
|
|
|
import pyximport |
|
|
|
pyximport.install() |
|
|
|
import rbtree |
|
|
|
|
|
|
|
class IntervalError(Exception): |
|
|
|
"""Error due to interval overlap, etc""" |
|
|
|