Generating unique ids in Mnesia

Joel Reymont joelr1@REDACTED
Thu Aug 18 17:03:22 CEST 2005


Only if I can convert it to a number. Think generating session ids  
for a browser.

Surely a reference won't do. A reference value reoccurs every 2^82  
calls whereas if I hash it I'll get a value below 2^32 so hashing  
does not seem to the way to go.

On Aug 18, 2005, at 4:58 PM, Rick Pettit wrote:

> Will a plain old ref work, the kind returned by erlang:make_ref()?





More information about the erlang-questions mailing list