List Info

Thread: - Re: Optimisations: A couple of




- Re: Optimisations: A couple of
country flaguser name
United States
2008-05-14 10:55:21
"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
_______________________________________________
jboss-dev-forums mailing list
jboss-dev-forumslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-dev-foru
ms

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )