On Fri, 13 Feb 2004, Christoph Breitkopf wrote:

> Neither do I. My naive reading of the standard is that it's
> always okay to put a (the element-type ...) around the aref in the
> presence of the array type declaration. Since python is about
> speed, I'd assumed it would make use of that.

I've on a few occasions observed that additional THE's can have a
detrimental effect on performance.

I never really investigated this, and don't have any code to "prove" it
around anymore, but it *seemed* to me that at least in some cases THE can
turn into an additional runtime check.

Dunno, really, but insight into this from someone who actually knows would
be welcome...

Cheers,

 -- Nikodemus


Reply via email to