Simple question about how the optimizer works

jb jblazi at hotmail.com
Fri May 10 03:13:43 EDT 2002


Andrew Dalke wrote:

> 
> Unless the compiler could look (somehow!) into the definition of each
> __nonzero__, or disable optimizations if _getframe(), sys.exc_info(), etc.
> are used *anywhere* in the Python code, then there's no way it can build
> that optimization.

And what about pure calculations? Let for example a,b and c be long 
integers. Then what about

A=a*b*c+1



-- 

Js Bi

"Il n'y a guère dans la vie qu'une préoccupation grave: c'est la mort;" 
(Dumas) 



-----------== Posted via Newsgroups.Com - Uncensored Usenet News ==----------
   http://www.newsgroups.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Ulimited Fast Downloads - 19 Servers =-----



More information about the Python-list mailing list