You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and get full instructions, but to generate 5 Random-based UUIDs, you would use:
137
136
138
-
java -jar target/java-uuid-generator-4.1.1-SNAPSHOT.jar -c 5 r
137
+
java -jar target/java-uuid-generator-4.1.2-SNAPSHOT.jar -c 5 r
139
138
140
139
(where `-c` (or `--count`) means number of UUIDs to generate, and `r` means Random-based version)
141
140
142
141
NOTE: this functionality is included as of JUG 4.1 -- with earlier versions you would need a bit longer invocation as Jar metadata did not specify "Main-Class".
143
142
If so, you would need to use
144
143
145
-
java -cp target/java-uuid-generator-4.1.1-SNAPSHOT.jar com.fasterxml.uuid.Jug -c 5 r
144
+
java -cp target/java-uuid-generator-4.1.2-SNAPSHOT.jar com.fasterxml.uuid.Jug -c 5 r
146
145
147
146
## Compatibility
148
147
@@ -193,7 +192,7 @@ There are many other publicly available UUID generators. For example:
193
192
194
193
Note that although some packages claim to be faster than others, it is not clear:
195
194
196
-
1. whether laims have been properly verified (or, if they have, can be independently verified), OR
195
+
1. whether claims have been properly verified (or, if they have, can be independently verified), OR
197
196
2. whether performance differences truly matter: JUG, for example, can generate millions of UUID per second per core (sometimes hitting the theoretical limit of 10 million per second) -- and it seems unlikely that generation will be bottleneck for any actual use case
198
197
199
198
so it is often best to choose based on stability of packages and API.
0 commit comments