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.
In reply to Re: Questions on Optimisation (DateTime::SpanSet and RRDs.pm)
by fglock
in thread Questions on Optimisation (DateTime::SpanSet and RRDs.pm)
by smullis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |