On 7 Jul, 21:47, "Martin v. Loewis" <mar...@v.loewis.de> wrote:

> That would partially defeat the purpose, namely it would require the
> compiler to put the size into a variable in memory, and possibly prevent
> optimizations from taking place that rely on constant propagation
> (depending on how smart the compiler is).

Also after reading carefully what Linus said, it would still be
incorrect if n is a complex expression. So, an inline function is the
"correct" one here.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to