Hash vs list

Jonathan Ellis jonathan at carnageblender.com
Mon Apr 24 16:07:34 MDT 2006


On Mon, 24 Apr 2006 16:03:39 -0600, "Jeff Schroeder"
<jeff at zingstudios.net> said:
> It seems a little 
> odd to use a hash when all I really have is a huge set of "keys" (I set 
> the values to 1 arbitrarily) 

That's why a lot of languages have added a standard "set" datatype,
often implemented as a hash underneath.

But PHP isn't one of those AFAIK.

-Jonathan
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay




More information about the PLUG mailing list