Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://425529]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-18 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found