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
b22b9488
Kaydet (Commit)
b22b9488
authored
Mar 28, 2009
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix a typo and be more specific
üst
41eb0861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
2.7.rst
Doc/whatsnew/2.7.rst
+7
-3
No files found.
Doc/whatsnew/2.7.rst
Dosyayı görüntüle @
b22b9488
...
...
@@ -132,9 +132,13 @@ A few performance enhancements have been added:
* The garbage collector tries to avoid tracking simple containers which
can't be part of a cycle. As of now, this is true for tuples and dicts
containing atomic types (such as ints, strings, etc.). Transitively, a dict
containing tuples of atomic types won't be tracked either. This helps brings
down the cost of full garbage collections, since it decreases the number of
objects to be considered and traversed by the collector.
containing tuples of atomic types won't be tracked either. This helps bring
down the individual cost of each garbage collection, since it decreases the
number of objects to be considered and traversed by the collector.
To help diagnosing this optimization, a new function in the :mod:`gc`
module, :func:`is_tracked`, returns True if a given instance is tracked
by the garbage collector, False otherwise.
(Contributed by Antoine Pitrou; :issue:`4688`.)
...
...
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