[go-nuts] Re: Question about container/heap

2021-06-14 Thread jake...@gmail.com
On Sunday, June 13, 2021 at 2:35:42 PM UTC-4 Brian Candler wrote: > On Sunday, 13 June 2021 at 16:09:48 UTC+1 kee...@gmail.com wrote: > >> For my heap, I never had to Push or Pop, I only had to initialize the >> heap and repeatedly "Fix" the top element of the heap. As it turns out the >> Init

[go-nuts] Re: Question about container/heap

2021-06-13 Thread Brian Candler
On Sunday, 13 June 2021 at 16:09:48 UTC+1 kee...@gmail.com wrote: > For my heap, I never had to Push or Pop, I only had to initialize the heap > and repeatedly "Fix" the top element of the heap. As it turns out the Init > and Fix functions only use the 3 sorting methods of the heap. They don'