From: Shin, D. <sd...@em...> - 2004-09-19 20:54:32
|
> I am concerned about the performance and memory hit of using, for > example, a list of a list of datetime objects rather than a numeric > array of floats. In the float representation, you can efficiently > create a large date range array with, for example, the drange code I > posted. Yes. For intensive operations on time series, a list of datetime objects will slow overall performance down significantly. Sometimes, I dream a sort of time array in numarray like string array, or object array. It can be implemented by holding a datetime object indicating an epoch and an array of floating points indicating intervals from the epoch. Daehyok Shin |