On Tue, Aug 18, 2015 at 4:12 PM, Guido van Rossum <[email protected]> wrote:

>   At the end of the day, I will not be surprised if aware datetime
>> subtraction is 10x slower than naive and every Python textbook recommends
>> to avoid doing arithmetic with aware datetime objects.
>>
>>
> I doubt it. Most textbooks aren't that concerned with saving a few cycles.
> (Do most Python textbooks even discuss the cost of object creation or
> function calls?) Anyways, wouldn't PEP 500 be even slower?
>

and the folks that DO care about performance will probaly want to use
numpy's datetime64 anyway :-)

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to