[Cosmo-dev] time-range query refactoring

Bobby Rullo br at osafoundation.org
Thu May 17 12:53:38 PDT 2007


Randy,

This sounds cool. Could you give us the 20,000ft overview of how you  
did this?

Bobby
On May 17, 2007, at 10:22 AM, Randy Letness wrote:

> I'm about to check in some changes that rip out and replace the old  
> way of indexing and searching for events in a given time range. One  
> of the advantages of the new code: I can do a query for events in  
> 2030!  Also event creation/update is faster for recurring events  
> due to not having to write a gazillion rows to the db.  I have unit  
> tests and have done some testing, but there are probably cases that  
> i missed.  There are no api changes so far.  I've implemented  
> things so that the existing api stays in place.  If its OK with  
> everyone I'd like to check things in so we can start using the new  
> code and flush out and fix all the bugs.  There are still a few  
> things I need to implement, but the base case of time-range queries  
> is basically done.
>
> -Randy
>
>
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev



More information about the cosmo-dev mailing list