oetzi/echo — Issue #56: Event.occs() filter is inefficient
Author: oetzi
Created: 2012-02-04 16:12:49+00:00
State: open
Labels: events

Many operations require Events to be filtered to find the rightmost occurrence where its time <= to some time 't'. This is usually done with filter but this is inefficient as it will search through all n occurrences. This could be easily optimised as occurrences are always in time order.