Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41586 > unrolled thread

"monty" < "python"

Started byfranzferdinand <melo.dumoulin@hotmail.com>
First post2013-03-20 06:33 -0700
Last post2013-03-23 16:06 +0000
Articles 2 on this page of 42 — 21 participants

Back to article view | Back to comp.lang.python


Contents

  "monty" < "python" franzferdinand <melo.dumoulin@hotmail.com> - 2013-03-20 06:33 -0700
    Re: "monty" < "python" Jan Oelze <jan@codein.is> - 2013-03-20 14:38 +0100
      Re: "monty" < "python" Roy Smith <roy@panix.com> - 2013-03-20 09:58 -0400
        Re: "monty" < "python" franzferdinand <melo.dumoulin@hotmail.com> - 2013-03-20 07:03 -0700
          Re: "monty" < "python" Terry Reedy <tjreedy@udel.edu> - 2013-03-21 04:08 -0400
            Re: "monty" < "python" Roy Smith <roy@panix.com> - 2013-03-21 08:45 -0400
              Re: "monty" < "python" Chris Angelico <rosuav@gmail.com> - 2013-03-21 23:55 +1100
              Re: "monty" < "python" Wayne Werner <wayne@waynewerner.com> - 2013-03-21 07:56 -0500
              Re: "monty" < "python" Dave Angel <davea@davea.name> - 2013-03-21 09:02 -0400
    Re: "monty" < "python" "R. Michael Weylandt" <michael.weylandt@gmail.com> - 2013-03-20 13:40 +0000
    Re: "monty" < "python" Ian Foote <ian@feete.org> - 2013-03-20 14:17 +0000
    Re: "monty" < "python" Jan Oelze <jan@codein.is> - 2013-03-20 15:23 +0100
    Re: "monty" < "python" Grant Edwards <invalid@invalid.invalid> - 2013-03-20 16:04 +0000
      Re: "monty" < "python" jmfauth <wxjmfauth@gmail.com> - 2013-03-20 12:40 -0700
        Re: "monty" < "python" Tim Delaney <tim.delaney@aptare.com> - 2013-03-21 08:02 +1100
          Re: "monty" < "python" jmfauth <wxjmfauth@gmail.com> - 2013-03-23 02:24 -0700
            Re: "monty" < "python" Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-23 16:17 +0000
              Re: "monty" < "python" jmfauth <wxjmfauth@gmail.com> - 2013-03-24 06:31 -0700
                Re: "monty" < "python" Chris Angelico <rosuav@gmail.com> - 2013-03-25 00:44 +1100
                Re: "monty" < "python" Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-24 14:08 +0000
        Re: "monty" < "python" Michael Torrie <torriem@gmail.com> - 2013-03-20 19:41 -0600
        Re: "monty" < "python" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-21 02:52 +0000
        Re: "monty" < "python" rusi <rustompmody@gmail.com> - 2013-03-20 20:12 -0700
          Vowels [was Re: "monty" < "python"] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-21 04:28 +0000
            Re: Vowels [was Re: "monty" < "python"] Larry Hudson <orgnut@yahoo.com> - 2013-03-20 23:26 -0700
              Re: Vowels [was Re: "monty" < "python"] David H Wild <dhwild@talktalk.net> - 2013-03-21 09:36 +0000
                Re: Vowels [was Re: "monty" < "python"] Chris Angelico <rosuav@gmail.com> - 2013-03-21 21:09 +1100
                  Re: Vowels [was Re: "monty" < "python"] Peter Pearson <ppearson@nowhere.invalid> - 2013-03-21 21:52 +0000
                    Re: Vowels [was Re: "monty" < "python"] Chris Angelico <rosuav@gmail.com> - 2013-03-22 08:59 +1100
                Re: Vowels [was Re: "monty" < "python"] istjanichtzufassen@gmail.com - 2013-03-21 06:26 -0700
                  Re: Vowels [was Re: "monty" < "python"] Chris Angelico <rosuav@gmail.com> - 2013-03-22 00:38 +1100
            Re: Vowels [was Re: "monty" < "python"] Grant Edwards <invalid@invalid.invalid> - 2013-03-21 17:31 +0000
              Re: Vowels [was Re: "monty" < "python"] Terry Reedy <tjreedy@udel.edu> - 2013-03-21 19:05 -0400
                Re: Vowels [was Re: "monty" < "python"] Roy Smith <roy@panix.com> - 2013-03-21 20:09 -0400
                Re: Vowels [was Re: "monty" < "python"] Grant Edwards <invalid@invalid.invalid> - 2013-03-22 14:14 +0000
              Re: Vowels [was Re: "monty" < "python"] Stefan Behnel <stefan_ml@behnel.de> - 2013-03-24 15:25 +0100
                Re: Vowels [was Re: "monty" < "python"] rusi <rustompmody@gmail.com> - 2013-03-24 08:04 -0700
              Re: Vowels [was Re: "monty" < "python"] Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-24 16:12 +0000
          Re: "monty" < "python" jmfauth <wxjmfauth@gmail.com> - 2013-03-23 02:23 -0700
            Re: "monty" < "python" Chris Angelico <rosuav@gmail.com> - 2013-03-23 20:45 +1100
            Re: "monty" < "python" Chris Angelico <rosuav@gmail.com> - 2013-03-23 20:56 +1100
            Re: "monty" < "python" Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-23 16:06 +0000

Page 3 of 3 — ← Prev page 1 2 [3]


#41722

FromChris Angelico <rosuav@gmail.com>
Date2013-03-23 20:56 +1100
Message-ID<mailman.3625.1364032608.2939.python-list@python.org>
In reply to#41719
On Sat, Mar 23, 2013 at 8:45 PM, Chris Angelico <rosuav@gmail.com> wrote:
> On Sat, Mar 23, 2013 at 8:23 PM, jmfauth <wxjmfauth@gmail.com> wrote:
>> One aspect of Unicode (note the capitalized "U").
>>
>> [chomp yet another trivial microbenchmark]
>>
>> ---
>>
>> In French, depending of the word, a leading "h", behaves
>> as a vowel or as a consonant.
>> (From this -> this typical mistake)
>
> Huh? Did jmf and 88888 Dihedral just team up to make a post?

Ohh. That's in relation to "an horrible mistake". Though I still don't
see what the parenthesis is saying.

Pity, that. A merger between jmf and Dihedral would have been mutually
beneficial. I'm sure it would be approved by the regulatory
authorities, too.

ChrisA

[toc] | [prev] | [next] | [standalone]


#41743

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-03-23 16:06 +0000
Message-ID<mailman.3645.1364054783.2939.python-list@python.org>
In reply to#41719
On 23/03/2013 09:23, jmfauth wrote:
> On 21 mar, 04:12, rusi <rustompm...@gmail.com> wrote:
>> On Mar 21, 12:40 am, jmfauth <wxjmfa...@gmail.com> wrote:
>>
>>> ----
>>
>>> Courageous people can try to do something with the unicode
>>> collation algorithm (see unicode.org). Some time ago, for the fun,
>>> I wrote something (not perfect) with a reduced keys table (see
>>> unicode.org), only a keys subset for some scripts hold in memory.
>>
>>> It works with Py32 and Py33. In an attempt to just see the
>>> performance and how it "can react", I did an horrible mistake,
>>> I forgot Py33 is now optimized for ascii user, it is no more
>>> unicode compliant and I stupidely tested/sorted lists of French
>>> words...
>>
>> Now lets take this piece by piece…
>> "I did an horrible mistake" : I am sorry. Did you get bruised? Break
>> some bones? And is 'h' a vowel in french?
>> "I forgot Py33 is now optimized for ascii user"  Ok.
>> "it is no more unicode compliant" I asked earlier and I ask again --
>> What do you mean by (non)compliant?
>
> ------
>
> One aspect of Unicode (note the capitalized "U").
>
> py32
>>>> timeit.repeat("'abc需'.find('a')")
> [0.27941279564856814, 0.26568106110789813, 0.265546366757917]
>>>> timeit.repeat("'abcdef'.find('a')")
> [0.2891812867801491, 0.26698153112010914, 0.26738994644529157]
>
> py33
> timeit.repeat("'abc需'.find('a')")
> [0.5941777382531654, 0.5829193385634426, 0.5519412133990045]
> timeit.repeat("'abcdef'.find('a')")
> [0.44333188136533863, 0.4232506078969891, 0.4225164843046514]
>
> jmf
>

Are you saying that to be compliant a unicode implementation has to 
perform within given time bounds?

-- 
Cheers.

Mark Lawrence

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | comp.lang.python


csiph-web