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
ff57aefa
Kaydet (Commit)
ff57aefa
authored
Mar 30, 2014
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
update notes to talk about -X showrefcount
üst
3da9fbbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
SpecialBuilds.txt
Misc/SpecialBuilds.txt
+5
-3
No files found.
Misc/SpecialBuilds.txt
Dosyayı görüntüle @
ff57aefa
...
@@ -13,12 +13,14 @@ Py_REF_DEBUG
...
@@ -13,12 +13,14 @@ Py_REF_DEBUG
------------
------------
Turn on aggregate reference counting. This arranges that extern _Py_RefTotal
Turn on aggregate reference counting. This arranges that extern _Py_RefTotal
hold a count of all references, the sum of ob_refcnt across all objects. In a
hold a count of all references, the sum of ob_refcnt across all objects.
debug-mode build, this is where the "8288" comes from in
Passing ``-X showrefcount`` on the command line causes the interactive
interpreter to print the reference count total as well the number of memory
blocks allocated after each statement:
>>> 23
>>> 23
23
23
[8288 refs]
[8288 refs
, 14332 blocks
]
>>>
>>>
Note that if this count increases when you're not storing away new objects,
Note that if this count increases when you're not storing away new objects,
...
...
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