Frequently Asked Questions - craterdog/java-primitive-types GitHub Wiki
How do I know how big to make my tags?
The following table captures a range of scope sizes and the number of things within each scope that can relatively safely be identified with tags of a specific size without risk of repeated tag values:
Scope | # Things | # Bytes | # Bits | # Characters | Total # Tags |
---|---|---|---|---|---|
Desk | 16 | 1 | 8 | 2 | 256 |
Room | 256 | 2 | 16 | 4 | 65536 |
Building | 65536 | 4 | 32 | 7 | 4.29E+009 |
City | 4.29E+009 | 8 | 64 | 13 | 1.84E+019 |
Globe | 1.84E+019 | 16 | 128 | 26 | 3.40E+038 |
Galaxy | 3.40E+038 | 32 | 256 | 52 | 1.16E+077 |
Universe | 1.16E+077 | 64 | 512 | 103 | 1.34E+154 |
Multiverse | 1.34E+154 | 128 | 1024 | 205 | 1.80E+308 |
Use this table to chose the size of the tag that fits the scope of your thing space.