in reply to Questions on Optimisation (DateTime::SpanSet and RRDs.pm)

$span_set->contains( $dt );

Actually this method was not optimized for operating on simple datetimes. The sentence is executed as:

$span_set->contains( DateTime::Set->from_datetimes( dates => [ $dt ] ) );

I'm working in the optimization.

update: DateTime::Event::Recurrence was uploaded to CPAN as version 0.19_01. If you benchmark it, please let me know.