Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'dynamically': 0.07; 'statically': 0.07; 'python': 0.09; 'list).': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'subject:using': 0.09; 'naive': 0.16; 'nodes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'memory': 0.18; '(or': 0.18; 'seems': 0.23; 'header:X-Complaints- To:1': 0.28; 'fine': 0.28; 'arrays': 0.29; 'node': 0.29; 'fri,': 0.30; 'lists': 0.31; 'allocated': 0.33; 'url:home': 0.33; 'to:addr :python-list': 0.33; 'list': 0.35; 'subject:?': 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'data': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'tracking': 0.61; 'dennis': 0.91; 'received:108': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Algorithms using Python? Date: Fri, 21 Sep 2012 17:14:14 -0400 Organization: > Bestiaria Support Staff < References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 108.79.219.15 X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348262055 news.xs4all.nl 6941 [2001:888:2000:d::a6]:40533 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29686 On Fri, 21 Sep 2012 14:07:01 -0600, Ian Kelly declaimed the following in gmane.comp.python.general: > > It seems to work fine to me. You are working with dynamically allocated memory for the nodes; I was envisioning the implementation of linked lists in what would have been statically allocated arrays (or one large dynamic memory block with all data tracking kept internally) (ie; a naive attempt using a Python list where nodes are [nxtIndex, data], and accidently removing a node from that list). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/