initial commits
parent
17718dcaba
commit
a71033c75d
|
@ -21,7 +21,7 @@ var id xim.ID = xim.Generate()
|
||||||
|
|
||||||
## Representation
|
## Representation
|
||||||
|
|
||||||
Internally, the xim-id is compactly stored in an `uint64`. The anatomy of this is as follows:
|
Internally, the **xim-id** is compactly stored in an `uint64`. The anatomy of this is as follows:
|
||||||
```
|
```
|
||||||
unix timestamp (39-bits)
|
unix timestamp (39-bits)
|
||||||
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
|
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
|
||||||
|
@ -34,7 +34,7 @@ The `xim.ID.UnixTime()` method will give you that 39-bit _unix timestamp_.
|
||||||
|
|
||||||
And the `xim.ID.Chaos()` method will give you that 24-bit _chaos_.
|
And the `xim.ID.Chaos()` method will give you that 24-bit _chaos_.
|
||||||
|
|
||||||
(The _chaos_ is just a randomness that helps make these xim-ids unique, when multiple xim-ids are being produced simultaneously.)
|
(The _chaos_ is just a randomness that helps make these **xim-ids** unique, when multiple **xim-ids** are being produced simultaneously.)
|
||||||
|
|
||||||
## Temporal Ordering of Representation
|
## Temporal Ordering of Representation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue