Do you know where your variables are? | |
PerlMonks |
Re: Questions on Optimisation (DateTime::SpanSet and RRDs.pm)by fglock (Vicar) |
on Jan 27, 2005 at 11:49 UTC ( [id://425529]=note: print w/replies, xml ) | Need Help?? |
$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.
In Section
Seekers of Perl Wisdom
|
|