Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings



Pedro Côrte-Real wrote:
On 8/22/06, Austin Ziegler <halostatue@xxxxxxxxx> wrote:

It would be ordered and have arbitrary key values, but it would not,
in fact, be a Hash. That's the point that some folks have tried to
make about this.


It is a Hash, since it provides it's interface and general performance
characteristics. It just supplies the new guarantee of insertion
ordering.

If you capitalize Hash (naming the Ruby class) that is arguably true.
But in the CS sense, a hash is not ordered.


A lot of people seem to want this so why not create a standard OHash?
A nice syntax like the [1=>2] one would be great as well.


I think I'll address a few more issues and then write this up as
an RCR.

If you don't see it in ten days, nag me. ;)


Cheers,
Hal

.



Relevant Pages

  • Re: Error number: 0x8007007B
    ... the old system was microsoft update and it is now changed to windows upgrade ... > Hash: SHA1 ... > Pedro wrote: ...
    (microsoft.public.windowsupdate)
  • Re: CISCO MD5 encryption
    ... One thing a hash is supposed to do is resist collisions. ... See, for example, MD5 considered harmful today and MD5 ... from folks like Lenstra, et al, do you feel confortable storing ...
    (Security-Basics)
  • Re: Replying to "list-only" with thunderbird
    ... Hash: SHA1 ... | I'm using Debian Thunderbird version 1.0. ... Some folks get ...
    (Debian-User)
  • recommended bluetooth adapters
    ... Hash: SHA1 ... Folks, ... I am looking for a USB Bluetooth adapter for my -CURRENT machine and would ...
    (freebsd-net)
  • Re: Ruby Central down??
    ... On Sun, 2 Sep 2007, M. Edward Borasky wrote: ... Hash: SHA1 ... I was trying to point some folks at the Regional ...
    (comp.lang.ruby)