[Python-Dev] Caching float(0.0)

skip at pobox.com skip at pobox.com
Tue Oct 3 02:53:34 CEST 2006


    Terry> "Kristján V. Jónsson" <kristjan at ccpgames.com> wrote:
    >> Anyway, Skip noted that 50% of all floats are whole numbers between
    >> -10 and 10 inclusive,

    Terry> Please, no.  He said something like this about
    Terry> *non-floating-point applications* (evidence unspecified, that I
    Terry> remember).  But such applications, by definition, usually don't
    Terry> have enough floats for caching (or conversion time) to matter too
    Terry> much.

Correct.  The non-floating-point application I chose was the one that was
most immediately available, "make test".  Note that I have no proof that
regrtest.py isn't terribly floating point intensive.  I just sort of guessed
that it was.

Skip


More information about the Python-Dev mailing list