xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] uuid generation (was Re: Scope of namespaces)
- From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
- To: Tatu Saloranta <cowtowncoder AT yahoo.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] uuid generation (was Re: Scope of namespaces)
- Date: Tue, 7 Feb 2006 12:29:46 -0800
On Feb 7, 2006, at 12:19 PM, Tatu Saloranta wrote:
--- Steve Loughran <steve.loughran AT gmail.com> wrote:
On 2/7/06, Nils Kilden-Pedersen <nilskp AT gmail.com>...
wrote:
On 2/7/06, Steve Loughran<steve.loughran AT gmail.com> wrote:
The serialisation is in the generation of random nos
from the feed.
The static generator uses a shared random number
generator, of type
SecureRandom. If you follow its code:
synchronized public void nextBytes(byte[] bytes)
{
...
}
Ok. Fair enough. In practice the default SecureRandom
doesn't halt that long (at least it didn't last I
tried it... but I didn't run out of neutrinos ;) ).
But I guess there's one more potential reason not to
use Sun's impl then.
In JDK < 1.4 the default secure random config didn't delegate to dev/ random or equivalent, and initializing a new SecureRandom() would typically take several seconds. It's gotten much better since then. BTW, since we're already way off-topic anyway: This appeared to be the main reason it took ages to start up tomcat in https mode.
Wolfgang.
-
Re: [XOM-interest] Scope of namespaces
, (continued)
-
Re: [XOM-interest] Scope of namespaces,
peter murray-rust, 02/06/2006
-
Re: [XOM-interest] Scope of namespaces,
Steve Loughran, 02/06/2006
- Re: [XOM-interest] Scope of namespaces, Ed Davies, 02/06/2006
-
[XOM-interest] uuid generation (was Re: Scope of namespaces),
Tatu Saloranta, 02/06/2006
-
Re: [XOM-interest] uuid generation (was Re: Scope of namespaces),
Steve Loughran, 02/07/2006
- Re: [XOM-interest] uuid generation (OT), Tatu Saloranta, 02/07/2006
-
Re: [XOM-interest] uuid generation (was Re: Scope of namespaces),
Nils Kilden-Pedersen, 02/07/2006
- Re: [XOM-interest] uuid generation (was Re: Scope of namespaces), Wolfgang Hoschek, 02/07/2006
- Re: [XOM-interest] uuid generation (was Re: Scope of namespaces), Steve Loughran, 02/07/2006
- Re: [XOM-interest] uuid generation (was Re: Scope of namespaces), Tatu Saloranta, 02/07/2006
- Re: [XOM-interest] uuid generation (was Re: Scope of namespaces), Wolfgang Hoschek, 02/07/2006
- Re: [XOM-interest] uuid generation (was Re: Scope of namespaces), Wolfgang Hoschek, 02/07/2006
-
Re: [XOM-interest] uuid generation (was Re: Scope of namespaces),
Steve Loughran, 02/07/2006
-
Re: [XOM-interest] Scope of namespaces,
Steve Loughran, 02/06/2006
-
Re: [XOM-interest] Scope of namespaces,
peter murray-rust, 02/06/2006
- Re: [XOM-interest] Scope of namespaces, Ed Davies, 02/06/2006
- Re: [XOM-interest] Scope of namespaces, Michael Kay, 02/07/2006
- Re: [XOM-interest] Scope of namespaces, peter murray-rust, 02/08/2006
- Re: [XOM-interest] Scope of namespaces, Wolfgang Hoschek, 02/06/2006
- Re: [XOM-interest] Scope of namespaces, Elliotte Harold, 02/07/2006
- Re: [XOM-interest] Scope of namespaces, Michael Kay, 02/06/2006
Archive powered by MHonArc 2.6.24.