Path: csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!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.033 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'string': 0.09; 'ascii': 0.09; 'bytes,': 0.09; 'strings.': 0.09; '"to': 0.16; '8-bit': 0.16; 'byte,': 0.16; 'exist.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'rather,': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '>>>': 0.22; 'error': 0.23; 'class.': 0.26; 'header :In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'character': 0.29; "doesn't": 0.30; 'characters': 0.30; 'message- id:@mail.gmail.com': 0.30; '+0100,': 0.31; '>>>>': 0.31; "d'aprano": 0.31; 'explained': 0.31; 'steven': 0.31; 'text': 0.33; 'fri,': 0.33; 'editor': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'sequence': 0.36; 'example,': 0.37; 'level': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'numbers': 0.61; "you've": 0.63; 'such': 0.63; 'within': 0.65; '26,': 0.68; 'therefore': 0.72; 'jul': 0.74; 'characters,': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zklhvnZYW6faZ37P81W5agwKDiqJKP3t7Zw75qW7TW4=; b=mNe78MARzNKrS7baxlZ/6Abr8UC5pqnFP2WrPQCTmXpbzlR6g/BJ9Qouhi5uw3hHHk 05QdV6e1PbmAsHmXwL0K3E7I9k/UwJkcYudYrWKhMShKmjlcC0BPzfipB1lBTfFh30ol 9feUmQ6Wy7hNcc6tM+ZoJpFjA47Z9NslmdKEOuahuUej1/80vRgebHUDJOcUiQJrVmGC TBLZueDxeQcpDwoIbo7TBaSINlg3DDvDiv6Z07m2dfiRT32s32rtNu+96LanOtm05oVo eaSszVMZ1oGhXmskkZ9wNUYEV7S5IQCgr1uENtqac7l3qZfYoJwx3mXT/3zuBf9BoGcE lepw== MIME-Version: 1.0 X-Received: by 10.52.227.69 with SMTP id ry5mr4283835vdc.83.1374773249901; Thu, 25 Jul 2013 10:27:29 -0700 (PDT) In-Reply-To: <51f15e03$0$29971$c3e8da3$5496439d@news.astraweb.com> References: <571a6dfe-fd66-42cf-92fc-8b97cbe6e9e4@googlegroups.com> <51DFDE65.5040001@Gmail.com> <4f1067f6-bc99-42ad-9166-37fb228b90e8@googlegroups.com> <51f14395$0$29971$c3e8da3$5496439d@news.astraweb.com> <51f15e03$0$29971$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 26 Jul 2013 03:27:29 +1000 Subject: Re: RE Module Performance From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374773662 news.xs4all.nl 15917 [2001:888:2000:d::a6]:47931 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51248 On Fri, Jul 26, 2013 at 3:18 AM, Steven D'Aprano wrote: > On Fri, 26 Jul 2013 01:36:07 +1000, Chris Angelico wrote: > >> On Fri, Jul 26, 2013 at 1:26 AM, Steven D'Aprano >> wrote: >>> On Thu, 25 Jul 2013 14:36:25 +0100, Jeremy Sanders wrote: >>>> "To conserve memory, Emacs does not hold fixed-length 22-bit numbers >>>> that are codepoints of text characters within buffers and strings. >>>> Rather, Emacs uses a variable-length internal representation of >>>> characters, that stores each character as a sequence of 1 to 5 8-bit >>>> bytes, depending on the magnitude of its codepoint[1]. For example, >>>> any ASCII character takes up only 1 byte, a Latin-1 character takes up >>>> 2 bytes, etc. We call this representation of text multibyte. >>> >>> Well, you've just proven what Vim users have always suspected: Emacs >>> doesn't really exist. >> >> ... lolwut? > > > JMF has explained that it is impossible, impossible I say!, to write an > editor using a flexible string representation. Since Emacs uses such a > flexible string representation, Emacs is impossible, and therefore Emacs > doesn't exist. > > QED. Quad Error Demonstrated. I never got past the level of Canis Latinicus in debating class. ChrisA