[erlang-questions] unique_integer

Kenneth Lakin kennethlakin@REDACTED
Mon Apr 4 07:57:35 CEST 2016


On 04/02/2016 01:32 PM, mickael trouve wrote:
> My second question is about the depth of this integer. I read on the
> documentation 2⁶⁴ - 1.
> So i could parse those values in a 64 bits binary integer, right ?

The documentation indicates that that could only be true if you pass
[monotonic]. If you don't, then unique_integer can produce
(NoSchedulers + 1) * (2⁶⁴ - 1) unique integers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160403/93bf2dac/attachment.bin>


More information about the erlang-questions mailing list