Case-insensitive string comparison

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Wed Apr 16 08:25:39 EDT 2003


Duncan Booth <duncan at NOSPAMrcp.co.uk> wrote:

>I'm slightly surprised that your class doesn't include:
>
>    def lower(self):
>        return self.____lowerCaseMe
>
>A quick timing test indicates that this does make a difference.

I'm slightly surprised too.

Although, I'm more surpried that you haven't got anything better to do
than time other people's code. ;-)

Condiser it added.

-- 
Dale Strickland-Clark
Riverhall Systems Ltd




More information about the Python-list mailing list