Fri Feb 4 12:09:03 CET 2005
--- "Thomas Johnsson XA (LN/EAB)"
> .. And this might be a good time to suggest an
> alternative in applications like these:
> use integers/bignums instead of atoms. Like:
Good point -- you could also use MD5 or something as
an alternative, or even a simple (string -> int)
function if the "atoms" are known beforehand.
This technique probably works best if you don't need
the Full Power (TM) of atoms (e.g., pretty printing,
type testing, ...). If you do, you will end up
reinventing the whole thing.
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
More information about the erlang-questions