Re: Misc. DT module interactions resulting in an infinite loop?

2006-05-22 Thread David Cantrell
Flavio S. Glock wrote: 2006/5/18, Jerrad Pierce [EMAIL PROTECTED]: I've run into an odd issue with DateTime and Memoization ... DateTime objects can mutate, and this can potentially place the memoization buffer in an invalid state, because the internal data is shared. One solution could be to

Re: Misc. DT module interactions resulting in an infinite loop?

2006-05-19 Thread Flavio S. Glock
2006/5/18, Jerrad Pierce [EMAIL PROTECTED]: I've run into an odd issue with DateTime and Memoization (often necessary to get decent performance for processing 10-20k records with repeat dates). I've processed a lot of data this way but I recently ran into a few records that caused an infinite

Misc. DT module interactions resulting in an infinite loop?

2006-05-18 Thread Jerrad Pierce
I've run into an odd issue with DateTime and Memoization (often necessary to get decent performance for processing 10-20k records with repeat dates). I've processed a lot of data this way but I recently ran into a few records that caused an infinite loop, below is some simplified sample code that