Rationale for core Python numeric types

Ville Vainio ville at spammers.com
Fri Jul 16 08:27:04 EDT 2004


>>>>> "Matt" == M Feinstein <mfein2 at earthlink.net> writes:

    Matt> answered my original question. Should I conclude that there
    Matt> is no rationale for core Python numeric types? Should I just

Pretty much, yes. Numbers are objects, with the associated
overhead. Using lower precision numbers maintains the overhead while
peeling only a couple of bytes away from payload.

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list