2007/2/5, Joshua ben Jore <[EMAIL PROTECTED]>:
I'm using DateTime::Set to encode a radio station's program lineup. It's about 170 weekly recurrences that are all mostly about an hour apart.
Set::Infinite can't optimize this query, so it's actually making 170 or more calls to Recurrence and comparing them. You could get a big optimization by combining several recurrences into a single set, like: my $set = DateTime::Event::Recurrence->weekly( days => [ 2, 4 ], hours => [ 10, 14, -1 ], minutes => [ 15, 30, -15 ] ); - Flavio S. Glock
