Re: prefixes and namespaces?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike777 wrote:
> 
> What is the difference between a hash table and a map?
> 

Technically, a hash table would store a key/value pair using a hashing
technique. There are other methods of doing it. A map is a generic term for
key/value type structures. It may use one of many methods for the key/value
relation. Our map, however, uses a hash and it could have been called a hash
table, but map is a bit simpler of a name. dictionary is simpler yet, but not
always correct in that when you think of a dictionary you think of a word and
description. Our map can use strings as keys, complex sequences, integers, atoms,
etc...

Practically? no difference. Both are key/value type devices.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu