A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-September/113437.html below:

[Python-Dev] Python 3 optimizations continued...

[Python-Dev] Python 3 optimizations continued... [Python-Dev] Python 3 optimizations continued...Mark Shannon mark at hotpy.org
Thu Sep 1 14:31:12 CEST 2011
Cesare Di Mauro wrote:
> 2011/9/1 Ned Batchelder <ned at nedbatchelder.com 
> <mailto:ned at nedbatchelder.com>>
> 
>     When the switchover to the new instruction format happens, what
>     happens to sys.settrace() tracing?  Will it report the same sequence
>     of line numbers?  For a small but important class of program
>     executions, this is more important than speed.
> 
>      --Ned
> 
> 
> A simple solution: when tracing is enabled, the new instruction format 
> will never be executed (and information tracking disabled as well).
> 
What happens if tracing is enabled *during* the execution of the new 
instruction format?
Some sort of deoptimisation will be required in order to recover the 
correct VM state.

Cheers,
Mark.

> Regards,
> Cesare
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/mark%40hotpy.org

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4