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!newsfeed5.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.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'received:209.85.223': 0.03; 'sep': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'statistics,': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'comparing': 0.17; 'header:In-Reply-To:1': 0.25; 'message- id:@mail.gmail.com': 0.27; 'words': 0.29; 'this.': 0.29; "skip:' 20": 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'skip:* 60': 0.36; 'previous': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'obvious': 0.71; 'otten': 0.84 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=B/jm8BcJtHgWybyTX/7OqjK3+4MCaEAxTGbBB3vLvFA=; b=OVP4baBhWPgPI4Zh7eSJx8Kdl56U/jiIaefcjAAcYxnvwzKpNIxaxOkCzujPzdenzj 8Wuz188m7o/JG/8wewIJAgAdnJlcQFFJkDNwOq7cyEK2W8p2tmpbefXbo1Q7K1LE3zwf 7Aj4AKyX2HBgsaq4WUKxO30V5FVr4laj5cTNfVXBRS4FXhp7ItxRl4hFSzDxM4O0lgIL 27V6/2FmhrG/0yb9eEK+sluJCA34UiY9PBJZZzQEz8nPdoAaWgt5CIxlvqOo8iXu4V/8 fy9eYXO/JJRgaTCz1eRVWi1w4Y6w0tVALFVVGcwDL60aqa8ITYLYFqpZA58EKRlRVhHw 9zrg== MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 5 Sep 2012 18:33:04 +1000 Subject: Re: Comparing strings from the back? 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346833988 news.xs4all.nl 6865 [2001:888:2000:d::a6]:46799 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28466 On Wed, Sep 5, 2012 at 6:29 PM, Peter Otten <__peter__@web.de> wrote: > comparing every pair in a sample of 1000 8-char words > taken from '/usr/share/dict/words' > > head > 1: 477222 ************************************************************ > 2: 18870 ** > ... Not understanding this. What are the statistics, and what (if it's not obvious from the previous answer) do they prove? ChrisA