"jmesnil" wrote :
| It seems the bottleneck is the generation of the UUID.
|
| When using UUID.randomUUID(), the implementation uses a
SecureRandom.
| If I use Random instead and creates the UUID with new
UUID(rand.nextLong(), nextLong(), the perf increases
significantely.
|
I don't think we should be using random UUIDs at all, since
they're... well random (so can clash).
Instead I think we should use a variant 2 UUID.
View the original post : http://www.jboss.com/index.html?
module=bb&op=viewtopic&p=4150802#4150802
Reply to the post : http://www.jboss.com/index.
html?module=bb&op=posting&mode=reply&p=4150802
a>
_______________________________________________
jboss-dev-forums mailing list
jboss-dev-forums lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-dev-foru
ms
|