Re: Is this comparison valid?

Discussion in 'Perl Misc' started by gamo@telecable.es, Jun 10, 2013.

  1. Guest

    The order of the strings is non-deterministic BETWEEN RUNS, but not
    any other way. After a shuffle, the order is randomized. That can
    be done as many times as you want / need in a single run of the
    program. And two sets of keys with some overlap will be reliably
    randomly ordered after a shuffle, but not after hashing.

    In some limited cases, hashing may be "random" enough, but do remember
    that is is based on a formula applied to the key string, whereas a
    shuffle is a rearrangement that ignores the data altogether.

    Elijah
    --------------------

    Thank you for the explanation.
    , Jun 10, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. LV

    .Net Comparison

    LV, Aug 27, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    1,403
    William Ryan
    Aug 31, 2003
  2. bettervssremoting
    Replies:
    0
    Views:
    1,858
    bettervssremoting
    Mar 1, 2005
  3. Anand P Paralkar
    Replies:
    2
    Views:
    9,386
    Srinivasan Venkataramanan
    Aug 4, 2003
  4. Deepu
    Replies:
    1
    Views:
    242
    ccc31807
    Feb 7, 2011
  5. Is this comparison valid?

    , Jun 9, 2013, in forum: Perl Misc
    Replies:
    3
    Views:
    151
    J├╝rgen Exner
    Jun 9, 2013
Loading...

Share This Page