diff options
author | Guido van Rossum <guido@python.org> | 2023-12-12 21:43:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 21:43:08 (GMT) |
commit | 7316dfb0ebc46aedf484c1f15f03a0a309d12a42 (patch) | |
tree | 92f0fb1befd424b1235b61e9d0d0e1d0389c190b /Misc | |
parent | dfaa9e060bf6d69cb862a2ac140b8fccbebf3000 (diff) | |
download | cpython-7316dfb0ebc46aedf484c1f15f03a0a309d12a42.zip cpython-7316dfb0ebc46aedf484c1f15f03a0a309d12a42.tar.gz cpython-7316dfb0ebc46aedf484c1f15f03a0a309d12a42.tar.bz2 |
gh-112320: Implement on-trace confidence tracking for branches (#112321)
We track the confidence as a scaled int.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-11-22-13-17-54.gh-issue-112320.EddM51.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-11-22-13-17-54.gh-issue-112320.EddM51.rst b/Misc/NEWS.d/next/Core and Builtins/2023-11-22-13-17-54.gh-issue-112320.EddM51.rst new file mode 100644 index 0000000..0da2fd3 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-11-22-13-17-54.gh-issue-112320.EddM51.rst @@ -0,0 +1,4 @@ +The Tier 2 translator now tracks the confidence level for staying "on trace" +(i.e. not exiting back to the Tier 1 interpreter) for branch instructions +based on the number of bits set in the branch "counter". Trace translation +ends when the confidence drops below 1/3rd. |