Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; ';-)': 0.03; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'random': 0.14; 'thread': 0.14; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'wrote:': 0.18; 'things.': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'gets': 0.27; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'probably': 0.32; 'maybe': 0.34; 'really': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'too': 0.37; 'operating': 0.37; 'represent': 0.38; 'awesome': 0.38; 'either': 0.39; 'how': 0.40; 'even': 0.60; 'entire': 0.61; 'to:addr:gmail.com': 0.65; 'hanging': 0.84; 'received:50.22': 0.84; 'subject:long': 0.84 Date: Fri, 8 Nov 2013 15:04:43 -0600 From: Tim Chase To: Chris Angelico Subject: Re: chunking a long string? In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Importance: low X-Priority: 5 (Lowest) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com X-Get-Message-Sender-Via: boston.accountservergroup.com: authenticated_id: tim@thechases.com Cc: python-list@python.org 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383944592 news.xs4all.nl 15931 [2001:888:2000:d::a6]:59569 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58861 On 2013-11-09 07:53, Chris Angelico wrote: > On the flip side, Python gets really awesome at some other things. > Your operating system probably takes an entire CD to distribute, > maybe even a DVD, so that's either 700MB or 4.7GB, give or take. > Look how efficiently Python can represent it: > > >>> sys.getsizeof(os) > 36 Someone has been hanging out too much over on that thread about compressing random data ;-) -tkc