Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Sven R. Kunze" Newsgroups: comp.lang.python Subject: Re: _siftup and _siftdown implementation Date: Fri, 5 Feb 2016 15:55:12 +0100 Lines: 20 Message-ID: References: <56b3e902$0$1613$c3e8da3$5496439d@news.astraweb.com> <56B4B4D5.20804@mail.de> <56B4B632.1030404@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de U7KA6vUfaghVN757n9HD/QkncsHm7HbG55uuFz1QvEaw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.087 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'modules.': 0.09; 'heapq': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'language': 0.19; '>>>': 0.20; 'library': 0.20; 'subject:skip:i 10': 0.22; 'header:In-Reply-To:1': 0.24; 'header :User-Agent:1': 0.26; 'wonder': 0.27; 'that.': 0.30; 'compared': 0.30; 'posting': 0.32; 'programming,': 0.33; 'received:10.0': 0.34; 'best,': 0.35; 'could': 0.35; 'done': 0.35; 'programming.': 0.35; 'modules': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'thought': 0.37; 'list.': 0.37; 'stuff': 0.38; 'mailing': 0.38; 'why': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'competitive': 0.61; 'charset:windows-1252': 0.62; 'else.': 0.66; 'sounds': 0.76; 'bernardo': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mail201212; t=1454684114; bh=BYVcdpUEcDLTZYX44SfaGvfdXZv1aaDcoTXvcspSKbY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=BsNaTl/8fvxtWyi+42mEX3/2pq6zUecSsm3Y5z2Kiq5CTp0SR5mCUsx4ilxGhenGH MkbrlcVlNn81mFnzgADO+yvDNlTKnRzeZW1HVBmsIh3wxQ/vdD+o1n/7BAB+NhyJAe VDkDwNt0fs1eKBvCPW8agBZHy9n216IkqBs6x8rY= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <56B4B632.1030404@gmail.com> X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 646 X-purgate-ID: 154282::1454684114-00003BBD-56B1357D/0/0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102524 On 05.02.2016 15:48, Bernardo Sulzbach wrote: > On 02/05/2016 12:42 PM, Sven R. Kunze wrote: >>> >>> PS: I do competitive programming, I use these modules every couple of >>> days >>> when compared to other modules. so didn't give much thought when >>> posting to >>> the mailing list. sorry for that. >> >> Competitive programming? That sounds interesting. :) >> > > I wonder why you *can* use this amount of already done stuff in > competitive programming. When I was into that you could use what the > standard library of the language gave you and nothing else. AFAICT, heapq is part of the standard lib. :) Best, Sven