Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.datemas.de!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.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.041 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; '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; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'character': 0.29; "doesn't": 0.30; 'characters': 0.30; 'message-id:@mail.gmail.com': 0.30; '+0100,': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'text': 0.33; 'fri,': 0.33; 'received:google.com': 0.35; 'really': 0.36; 'sequence': 0.36; 'example,': 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; 'within': 0.65; '26,': 0.68; '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=W3qOZS7t8So4BXfmgg8vZOePaugWQiugBNnD+5xBQ7w=; b=t8xCy4/JFmrKYZReuvHqigjy8qESmim/AsUtQj6CfveT8qVxOqiaOEzfpci4X5rD4A AHSVR8y/+LSkVc0iiv48RkfA0X8UUYhSuH+oFkt/D59TtdlkWRr8pJfky4XuRUFeRi0x 1c5J74IXNup+1pCzbggHHiLMntF1Cre5dd2wubtTmAr3SeZhy/Cxv1F5bAPs8Z1WOg5Y CeuQwg6t1HopQ4QF8PW+GOysuqtmkt7spvxg0rSL8VhI8BeCuz/bTfbILrgH9W2NkKac k88XOxB/1mDHVizxzOBVbc4zeZmhFVGGL/Hc/laFfVUbKUhFTI0KDKeFj/3pqGWRlg2U ZrSQ== MIME-Version: 1.0 X-Received: by 10.52.120.77 with SMTP id la13mr15134511vdb.23.1374766567794; Thu, 25 Jul 2013 08:36:07 -0700 (PDT) In-Reply-To: <51f14395$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> Date: Fri, 26 Jul 2013 01:36:07 +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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374766576 news.xs4all.nl 16007 [2001:888:2000:d::a6]:50810 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51234 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? ChrisA