Re: How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-09 Thread Terry Reedy
"vdicarlo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Many thanks for the lucid and helpful suggestions. Since my date range | was only a few years, I used Some Other Guy's suggestion above, which | the forum is saying will be deleted in five days, to make a dictionary | of the

Re: How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-09 Thread vdicarlo
Many thanks for the lucid and helpful suggestions. Since my date range was only a few years, I used Some Other Guy's suggestion above, which the forum is saying will be deleted in five days, to make a dictionary of the whole range of dates when the script starts. It was so fast it wasn't even worth

Re: How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-08 Thread Eddie Corns
vdicarlo <[EMAIL PROTECTED]> writes: >I am a programming amateur and a Python newbie who needs to convert >about 100,000,000 strings of the form "1999-12-30" into ordinal dates >for sorting, comparison, and calculations. Though my script does a ton >of heavy calculational lifting (for which numpy

Re: How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-07 Thread Josiah Carlson
Some Other Guy wrote: > vdicarlo wrote: >> I am a programming amateur and a Python newbie who needs to convert >> about 100,000,000 strings of the form "1999-12-30" into ordinal dates >> for sorting, comparison, and calculations. Though my script does a ton >> of heavy calculational lifting (for wh

Re: How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-07 Thread Larry Bates
James T. Dennis wrote: > Some Other Guy <[EMAIL PROTECTED]> wrote: >> vdicarlo wrote: >>> I am a programming amateur and a Python newbie who needs to convert >>> about 100,000,000 strings of the form "1999-12-30" into ordinal dates >>> for sorting, comparison, and calculations. Though my script doe

Re: How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-07 Thread James T. Dennis
Some Other Guy <[EMAIL PROTECTED]> wrote: > vdicarlo wrote: >> I am a programming amateur and a Python newbie who needs to convert >> about 100,000,000 strings of the form "1999-12-30" into ordinal dates >> for sorting, comparison, and calculations. Though my script does a ton >> of heavy calculati

How Can I Increase the Speed of a Large Number of Date Conversions

2007-06-07 Thread vdicarlo
I am a programming amateur and a Python newbie who needs to convert about 100,000,000 strings of the form "1999-12-30" into ordinal dates for sorting, comparison, and calculations. Though my script does a ton of heavy calculational lifting (for which numpy and psyco are a blessing) besides converti