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


Groups > comp.lang.python > #26138

Re: Generating valid identifiers

Date 2012-07-27 11:59 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
Subject Re: Generating valid identifiers
References <mailman.2604.1343305588.4697.python-list@python.org> <50116281$0$29978$c3e8da3$5496439d@news.astraweb.com> <CALwzidnR-H=VCWAiC-qL95C_8C_A=+LMWvCAq4+0ZCM2-UHbVw@mail.gmail.com> <CALwzidmFmXGRQbSNjC4V6maCoTzvW8aP4-zfMWiu1aV_ihocjQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2652.1343383173.4697.python-list@python.org> (permalink)

Show all headers | View raw


 > With 16 ** 10 possible digests, the probability of collision hits 50% 
at 1234605 tables


Actually, I'm using base64 encoding. So it is 64**10. I guess using 6 
characters will enough.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Generating valid identifiers Laszlo Nagy <gandalf@shopzeus.com> - 2012-07-26 14:26 +0200
  Re: Generating valid identifiers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-26 15:30 +0000
    Re: Generating valid identifiers Laszlo Nagy <gandalf@shopzeus.com> - 2012-07-26 20:08 +0200
    Re: Generating valid identifiers Ian Kelly <ian.g.kelly@gmail.com> - 2012-07-26 13:28 -0600
      Re: Generating valid identifiers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-27 01:54 +0000
        Re: Generating valid identifiers Laszlo Nagy <gandalf@shopzeus.com> - 2012-07-27 09:34 +0200
    Re: Generating valid identifiers Ian Kelly <ian.g.kelly@gmail.com> - 2012-07-26 14:00 -0600
    Re: Generating valid identifiers Laszlo Nagy <gandalf@shopzeus.com> - 2012-07-27 09:28 +0200
    Re: Generating valid identifiers Laszlo Nagy <gandalf@shopzeus.com> - 2012-07-27 11:59 +0200

csiph-web