PNG  IHDRCIDATx1 7 89T5<'wq;`0`0qwq; wq;`0`0qwq;`;`0qw0q;w;`0`w0q;wq;`0`w0qwq;`;`0qwq;w;`0`w0q;w;`0`w0qwq;`0`0qwq;w;`0qw0q;w;`0`w0q;wq;`0`0qwq;`;`0qw0q;w;`0`w0q;wq;`0`w0qwq;``0qwq;w;`0`0qwq;w;`0`0qwq;w;`0qw0q;w;`0`w0q;wq;`0`0qwq;`;`0qw0q;w;`0`w0q;wq;`0`w0qwq;`;`0qwq;w;`0`w0q;w;`0`w0qwq;`0`0qwq;w;`0qw0q;w;`0`w0q;wq;`0`0qwq;`;`0qw0q;w;`0`w0q;wq;w;`0`w0q;wq;w;`0`w0q;w;`0`w0qwq;`0`0qwq;w;`0qw0q;w;`0`w0q;wq;`0`0qwq;`;`0qw0q;w;`0`w0q;wq;`0`w0qwq;`;`0qwq;w;`0`w0q;w;`0`w0qwq;`0`0qwq;w;`0qw0q;w;`K0`w0q;wq;`0`H0`w0q;wq;`0`H0`w0q;wq;`0`w0qwq;`;`0qwq;w;`0`w0q;w;`0`w0qwq;`0`0qwq;w;`0qw0q;w;`0`w0q;wq;`0`0qwq;`;`0qw0q;w;`0`w0q;wq;`0`w0qwq;`;`0qwq;w;`0`w0qdIENDB` FM / 10
/usr/lib/.build-id/10
NameSizeModeActions
2b4359c877d4c90c0032273dc635f90a7c016d283200755editdlrm
4f4b0124e8855f341f429b718fbbe127bac074117360755editdlrm
5ce1c8308e68b5b075b98648bfc1b76dbfdfe2125440755editdlrm
5dd70d854a00678bfd40d303f8abd07e1fa539740480755editdlrm
6acb329b9a7c88111082b222d174278bc731cf175360755editdlrm
6bdb2c261de0ea2cb71878e0468ff7637ef91f453280755editdlrm
7f9cb95ff1dc90f25ace4ed734b4178ff6503d120560755editdlrm
9dda500fd31f50d59e75a663bb018564d1b0fa2550800755editdlrm
9e376d7292147cf0931abf1ee41a9b53a2d6641223600755editdlrm
014f4fd081f61fe7f22992176588cddcd73d4340717040755editdlrm
79eddf4b2a4491dbdb52253e1cc7bbb8ea5ae81222080755editdlrm
113d6e6d362041192ea9470ad229bd1c12a1d3-0editdlrm
1264fa39fb83eae557555b5e0d6fe0153407e81459840755editdlrm
4949a763a4dccb3016e3f09befb438fee6730e166880755editdlrm
277476b3006e682188d299b806239e405fd8761474080755editdlrm
487838f09b3bf82f7c70caddd08f13eda7dad61222160755editdlrm
8020138e59ff9b60e968061e7de5339fb366b310749040755editdlrm
ba827385bec16a8ba3c201713d27a3ee3d052f242320755editdlrm
f9648fe53f668b9be23c69a3893f6ff6d1898b-0editdlrm
fd50658eb31a16716ffcf6b67c7639d4696027-0editdlrm
ff6f8f0e6ba85eec9d1d2cdbe0ac047319a17d9444720755editdlrm
Edit: /usr/lib64/python3.8/lib-dynload/_heapq.cpython-38-x86_64-linux-gnu.so (28320B)
ELF> @`g@8 @YY @]@] @] HP X]X] X] 888$$YYY StdYYY PtdPTPTPTQtdRtd@]@] @] GNU+CYw 2'=5 |m@ |CEqXla  , F";La ta {a - 6H__gmon_start___ITM_deregisterTMCloneTable_ITM_registerTMCloneTable__cxa_finalizelibcrypto.so.1.1libpthread.so.0libc.so.6PyObject_RichCompareBool_Py_DeallocPyExc_IndexErrorPyErr_SetStringPyExc_RuntimeErrorPyList_SetSlicePyExc_TypeErrorPyList_Append_Py_NoneStruct_PyArg_CheckPositionalPyInit__heapqPyModule_Create2PyUnicode_DecodeUTF8PyModule_AddObject_edata__bss_start_endGLIBC_2.2.5vui @] 5H] 5P] P] ` p7` @` < ` 7(`  8` ;@` 7H` 0&X`  ;`` 7h` !x` `9` 7`  5` 9` 7` 6` 8` 7` 6` 8` y7` `  8Ha 7Pa <`a ` _ _ _ _ _ _ _  _  p_ x_ _ _  _  _  _ _ _ _ HHT HtH5*T %+T hhhhhhhhqhah Q%S D%}S D%uS D%mS D%eS D%]S D%US D%MS D%ES D%=S DLD$LL$LL$D$- LD$LL$LL$D$ LD$fI,$D$V I;muQH-R H5>*H}U' H߉D$I/D$t. I;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A\A]A^A_fIHHHH0L#L H3HtH1LHL4HILI$I.xI,$M9ogIOLD$HIHM L#IHCLM1LIN4JLL$ILI$I.LT$I,$xiM9oIOH,HLeLL#L]LMuHO,I4IEH>HI}IH;\$ H|$H7Ht$HH7r8HD$](AWAVAUATUSH(LwI97MIILWIIL9K?HXHLK4H.L9I HE1HLD$HHHL$HmHT$LD$tOH*tsMUHM;u}LOI)L9eImH9MI9}dL{M31IOINLLD$ILLT$L\$I+I.hiI;mu1H([]A\A]A^A_MMJ4LI H>HHH9M9}I1HIKHN4HHHD$HT$H**H+#I;mkIEL\$N0IMIIMM9FMO1HIN4HJ4Ht$ILLL$eI.H|$H+.xRI;musIELD$N H51I8fDAWAVAUATUSHH(HL.HVIEI}M]I HImIHL$HHHHt$E1O$IZIH I L0I9OLI9H;\$IlH = H5H9pHt$HHT$HHHHD$HD$H([]A\A]A^A_LD$I/D$bxM]HI9muH I L0ff.O$I$HM4$H;\$8MeL9HkMU1HL<M4 L|$ML;HMrIT$LHL4IHHT$1ILI.LD$I/#L9mHEN$HM<$LL;M$MMzLd$H6 H5 H;HD$H6 H5R H:jHD$LD$ I/D$M9I1HIOHN$ILL$H $H)H+uI;nhIFLL$J ILIHMM9CHl$LMIMg1HIJ,HNL$HEH(HmXH+)Ht$I;udIEL$NM9I1HINHN<LL$ILL$ L$$LL$I,$yH+dI9nC#IVHD$ J :HLL8L9LM9MaL $LIJIN 1LL$HH}H+L$I/I;nIVH|$MHNH7M:L?I2M9unff.I(LLL|$Aׅ1LD$ heap[0]: item = heapreplace(heap, item)heappop($module, heap, /) -- Pop the smallest item off the heap, maintaining the heap invariant.heappushpop($module, heap, item, /) -- Push item on the heap, then pop and return the smallest item from the heap. The combined action runs more efficiently than heappush() followed by a separate call to heappop().heappush($module, heap, item, /) -- Push item onto heap, maintaining the heap invariant.Heap queue algorithm (a.k.a. priority queue). Heaps are arrays for which a[k] <= a[2*k+1] and a[k] <= a[2*k+2] for all k, counting elements from 0. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that a[0] is always its smallest element. Usage: heap = [] # creates an empty heap heappush(heap, item) # pushes a new item on the heap item = heappop(heap) # pops the smallest item from the heap item = heap[0] # smallest item on the heap without popping it heapify(x) # transforms list into a heap, in-place, in linear time item = heapreplace(heap, item) # pops and returns smallest item, and adds # new item; the heap size is unchanged Our API differs from textbook heap algorithms as follows: - We use 0-based indexing. This makes the relationship between the index for a node and the indexes for its children slightly less obvious, but is more suitable since Python uses 0-based indexing. - Our heappop() method returns the smallest item, not the largest. These two make it possible to view the heap as a regular Python list without surprises: heap[0] is the smallest item, and heap.sort() maintains the heap invariant! Heap queues [explanation by François Pinard] Heaps are arrays for which a[k] <= a[2*k+1] and a[k] <= a[2*k+2] for all k, counting elements from 0. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that a[0] is always its smallest element. The strange invariant above is meant to be an efficient memory representation for a tournament. The numbers below are `k', not a[k]: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 In the tree above, each cell `k' is topping `2*k+1' and `2*k+2'. In a usual binary tournament we see in sports, each cell is the winner over the two cells it tops, and we can trace the winner down the tree to see all opponents s/he had. However, in many computer applications of such tournaments, we do not need to trace the history of a winner. To be more memory efficient, when a winner is promoted, we try to replace it by something else at a lower level, and the rule becomes that a cell and the two cells it tops contain three different items, but the top cell "wins" over the two topped cells. If this heap invariant is protected at all time, index 0 is clearly the overall winner. The simplest algorithmic way to remove it and find the "next" winner is to move some loser (let's say cell 30 in the diagram above) into the 0 position, and then percolate this new 0 down the tree, exchanging values, until the invariant is re-established. This is clearly logarithmic on the total number of items in the tree. By iterating over all items, you get an O(n ln n) sort. A nice feature of this sort is that you can efficiently insert new items while the sort is going on, provided that the inserted items are not "better" than the last 0'th element you extracted. This is especially useful in simulation contexts, where the tree holds all incoming events, and the "win" condition means the smallest scheduled time. When an event schedule other events for execution, they are scheduled into the future, so they can easily go into the heap. So, a heap is a good structure for implementing schedulers (this is what I used for my MIDI sequencer :-). Various structures for implementing schedulers have been extensively studied, and heaps are good for this, as they are reasonably speedy, the speed is almost constant, and the worst case is not much different than the average case. However, there are other representations which are more efficient overall, yet the worst cases might be terrible. 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, which size is usually related to the amount of CPU memory), followed by a merging passes for these runs, which merging is often very cleverly organised[1]. It is very 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 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 much better for input fuzzily ordered. Moreover, if you output the 0'th item on disk and get an input which may not fit in the current tournament (because the value "wins" over the last output value), it cannot fit in the heap, so the size of the heap decreases. The freed memory could be cleverly reused immediately for progressively building a second heap, which grows at exactly the same rate the first heap is melting. When the first heap completely vanishes, you switch heaps and start a new run. Clever and quite effective! In a word, heaps are useful memory structures to know. I use them in a few applications, and I think it is good to keep a `heap' module around. :-) -------------------- [1] The disk balancing algorithms which are current, nowadays, are more annoying than clever, and this is a consequence of the seeking capabilities of the disks. On devices which cannot seek, like big tape drives, the story was quite different, and one had to be very clever to ensure (far in advance) that each tape movement will be the most effective possible (that is, will best participate at "progressing" the merge). Some tapes were even able to read backwards, and this was also used to avoid the rewinding time. Believe me, real good tape sorts were quite spectacular to watch! From all times, sorting has always been a Great Art! :-) ;0x8b߾`|0 L0t`(zRx $FJ w?:*3$"DH\FBB B(A0A8D`5 8A0A(B BBBO zRx `(,FAA i ABA zRx  $=HDFBB B(A0A8GP 8A0A(B BBBA zRx P(pH FBB B(A0A8G`g 8A0A(B BBBJ pǷ;H(FBB B(A0A8D` 8A0A(B BBBA 0LFAA G0b  DABA zRx 0$H^FBB B(A0A8G`C 8A0A(B BBBA HPMFBB B(A0A8D`` 8A0A(B BBBA wL BBB B(A0A8D 8A0A(B BBBA $zRx ,<XPdPHEBGNU55P] Ufv  7@] H] o`  X_   oopoo@oX] @ P ` p p7@<7 ;70& ;7!`97 59768768y7 87<` GA$3a1 %7_heapq.cpython-38-x86_64-linux-gnu.so-3.8.17-2.module_el8.9.0+3633+e453b53a.x86_64.debug:p7zXZִF!t/w]?Eh=ڊ2Na ړ"νt"wL,PgZa* |jS| wh!/_Oaп |Rk|֤ c30Ew⺎ofF4&[p4R(tL<4#S-G$][q ƢHª}Q`ɮ_ 0 6~,LF+wek(G`lϷ/ӑʅG{Z XOF8}/Kܒo; w&]uouȶ.>As&b;ΉD|yGI?Gѯ3h"%Ԑ>'NS*3C'a8 =ZMG % ?~ x~蜽0ZjN%wil_+֘;P iMqr z%+!53KatVoG31xSJ kL,"=` ;jih5/W)$4ƛ $u][+sϺYl=gé;l'Pf"V˖^]_Drs9Zu7#|$,38l/L1YO@FZ\2Ikk<$⳯3DX';M:O%pԁ[Ïkm">]9;d2{#zW<#hbe R7￵f1ȴ Y; 'F J@O)d8*3Pp~IL'ݜ7j{= Ԡbe33N Xr[p 'V{Yt锻, O E ͹+X'1>1c%q6=o"UgYZ.shstrtab.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.sec.text.fini.rodata.eh_frame_hdr.eh_frame.note.gnu.property.init_array.fini_array.data.rel.ro.dynamic.got.data.bss.gnu.build.attributes.gnu_debuglink.gnu_debugdata 88$o``4( 08o@@,Eopp T^B h  c0 0 n w *}77 @7@7 PTPTUUYY @] @]H] H]P] P]X] X]X_ X_` ` a aa`a$ a` b(4f(