Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed2.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'binary': 0.07; 'utf-8': 0.07; 'string': 0.09; 'janvier': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'did,': 0.16; 'opposite': 0.16; 'prefer.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'examples': 0.20; '>>>': 0.22; 'memory': 0.22; 'coding': 0.22; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'point': 0.28; 'am,': 0.29; 'tim': 0.29; 'relative': 0.30; 'url:wiki': 0.31; 'apparently': 0.31; 'option.': 0.31; 'url:wikipedia': 0.31; 'but': 0.35; 'url:org': 0.36; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:u 10': 0.60; 'subject:"': 0.60; 'truly': 0.60; 'received:173': 0.61; 'save': 0.62; 'email addr:gmail.com': 0.63; 'show': 0.63; 'success,': 0.65; 'saving': 0.69; 'goal': 0.75; 'received:fios.verizon.net': 0.84; 'mean.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Blog "about python 3" Date: Tue, 07 Jan 2014 19:02:22 -0500 References: <52C1F5EC.3020808@stoneleaf.us> <52c29416$0$29987$c3e8da3$5496439d@news.astraweb.com> <52c6415c$0$29972$c3e8da3$5496439d@news.astraweb.com> <52C6AD00.5050000@chamonix.reportlab.co.uk> <3519f85e-0909-4f5a-9a6e-09b6fd4c312d@googlegroups.com> <2fbf4f89-caaa-4fab-8d7e-ff7ef84029a2@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389139359 news.xs4all.nl 2889 [2001:888:2000:d::a6]:47592 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63453 On 1/7/2014 9:54 AM, Terry Reedy wrote: > On 1/7/2014 8:34 AM, wxjmfauth@gmail.com wrote: >> Le dimanche 5 janvier 2014 23:14:07 UTC+1, Terry Reedy a =C3=A9crit : > >>> Memory: Point 2. A *design goal* of FSR was to save memory relative = to >>> UTF-32, which is what you apparently prefer. Your examples show that = FSF >>> successfully met its design goal. But you call that success, saving >>> memory, 'wrong'. On what basis? > >> Point 2: This Flexible String Representation does no >> "effectuate" any memory optimization. It only succeeds >> to do the opposite of what a corrrect usage of utf* >> do. > > Since the FSF *was* successful in saving memory, and indeed shrank the > Python binary by about a megabyte, I have no idea what you mean. Tim Delaney apparently did, and answered on the basis of his=20 understanding. Note that I said that the design goal was 'save memory=20 RELATIVE TO UTF-32', not 'optimize memory'. UTF-8 was not considered an=20 option. Nor was any form of arithmetic coding https://en.wikipedia.org/wiki/Arithmetic_coding to truly 'optimize memory'. --=20 Terry Jan Reedy