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
d2a296a7
Kaydet (Commit)
d2a296a7
authored
Ara 12, 2014
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue 23005: Fix typos
üst
4ac7ed97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
heapq.rst
Doc/library/heapq.rst
+2
-2
No files found.
Doc/library/heapq.rst
Dosyayı görüntüle @
d2a296a7
...
@@ -260,11 +260,11 @@ However, there are other representations which are more efficient overall, yet
...
@@ -260,11 +260,11 @@ However, there are other representations which are more efficient overall, yet
the worst cases might be terrible.
the worst cases might be terrible.
Heaps are also very useful in big disk sorts. You most probably all know that a
Heaps are also very useful in big disk sorts. You most probably all know that a
big sort implies producing "runs" (which are pre-sorted sequences, wh
ich
size is
big sort implies producing "runs" (which are pre-sorted sequences, wh
ose
size is
usually related to the amount of CPU memory), followed by a merging passes for
usually related to the amount of CPU memory), followed by a merging passes for
these runs, which merging is often very cleverly organised [#]_. It is very
these runs, which merging is often very cleverly organised [#]_. It is very
important that the initial sort produces the longest runs possible. Tournaments
important that the initial sort produces the longest runs possible. Tournaments
are a good way to that. If, using all the memory available to hold a
are a good way to
achieve
that. If, using all the memory available to hold a
tournament, you replace and percolate items that happen to fit the current run,
tournament, you replace and percolate items that happen to fit the current run,
you'll produce runs which are twice the size of the memory for random input, and
you'll produce runs which are twice the size of the memory for random input, and
much better for input fuzzily ordered.
much better for input fuzzily ordered.
...
...
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