On 21/01/2010 06:54, Gregory P. Smith wrote:
+1

My biggest concern is memory usage but it sounds like addressing that is already in your mind. I don't so much mind an additional up front constant and per-line-of-code hit for instrumentation but leaks are unacceptable. Any instrumentation data or jit caches should be managed (and tunable at run time when possible and it makes sense).

I think having a run time flag (or environment variable for those who like that) to disable the use of JIT at python3 execution time would be a good idea.


Echoes my sentiments. The work done so far sounds like an awesome and necessary foundation for the long term goal of speeding up Python. Given the likely cost / benefit tradeoffs when unladen-swallow is merged, the ability to switch off the JIT at runtime would seem essential.

In fact off by default to start with seems reasonable given that many users (particularly Windows users) are likely to only have one version of Python installed at a time (so side by side with-JIT and without-JIT installs is not really acceptable as the standard solution). Messing with environment variables is user-unfriendly on Windows. Users can use site.py and / or environment variables for global switches.

All the best,


Michael Foord


-gps

disclaimer: I work for Google but not on unladen-swallow. My motivation is to improve the future of CPython for the entire world in the long term.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your 
employer, to release me from all obligations and waivers arising from any and all 
NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, 
confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS 
AGREEMENTS") that I have entered into with your employer, its partners, licensors, 
agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. 
You further represent that you have the authority to release me from any BOGUS AGREEMENTS 
on behalf of your employer.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to