Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] uuid generation (was Re: Scope of namespaces)

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Nils Kilden-Pedersen <nilskp AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] uuid generation (was Re: Scope of namespaces)
  • Date: Tue, 7 Feb 2006 11:06:34 -0800

On 2/7/06, Steve Loughran <steve.loughran AT gmail.com> wrote:
>
> Look at the source: Its serialized. if you have one thread creating
> many uuids, you dont take a hit, but if you have many threads, then
> you go at the rate of the slowest.
>

Where do you see this serialization?

What I did notice in the randomUUID() method was this:

UUID result = new UUID(randomBytes);
return new UUID(randomBytes);

Seems like an oversight.


Nils




Archive powered by MHonArc 2.6.24.

Top of Page