Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
dc1d1ba9
Kaydet (Commit)
dc1d1ba9
authored
Kas 07, 2007
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add build option for faster loop execution.
üst
cdcf8879
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
NEWS
Misc/NEWS
+5
-0
ceval.c
Python/ceval.c
+11
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
dc1d1ba9
...
...
@@ -1042,6 +1042,11 @@ Tools/Demos
Build
-----
- Add a FAST_LOOPS build option that speeds-up looping by trading away
periodic threadstate and signal checking in tight loops. By default,
this option is turned-off. It should only be enabled in debugged,
performance critical applications.
- Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
...
...
Python/ceval.c
Dosyayı görüntüle @
dc1d1ba9
...
...
@@ -2159,7 +2159,18 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
PREDICTED_WITH_ARG
(
JUMP_ABSOLUTE
);
case
JUMP_ABSOLUTE
:
JUMPTO
(
oparg
);
#if FAST_LOOPS
/* Enabling this path speeds-up all while and for-loops by bypassing
the per-loop checks for signals. By default, this should be turned-off
because it prevents detection of a control-break in tight loops like
"while 1: pass". Compile with this option turned-on when you need
the speed-up and do not need break checking inside tight loops (ones
that contain only instructions ending with goto fast_next_opcode).
*/
goto
fast_next_opcode
;
#else
continue
;
#endif
case
GET_ITER
:
/* before: [obj]; after [getiter(obj)] */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment