xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: Elliotte Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Attributes performance patch
- Date: Tue, 23 Nov 2004 07:17:20 -0800
On Nov 23, 2004, at 6:06 AM, Elliotte Harold wrote:
I've checked in some more optimizations for namespace URI verification. There are two of these:
1. Caching the four most recently used URIs XOM doesn't check them again.
2. checkScheme returns immediately if the scheme is "http"
I did a few things differently than your implementation. Most significantly, I use == to compare namespace URIs rather than equals(). This speeds things up quite a bit in the common case where the strings are in fact the same string. This will be true if the string comes from a String literal or a Builder.
Fine, also true when they come from the binary xml codec.
-
Re: [XOM-interest] Attributes performance patch
, (continued)
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/23/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/23/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/22/2004
-
RE: [XOM-interest] Attributes performance patch,
Michael Kay, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/22/2004
-
Message not available
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/22/2004
Archive powered by MHonArc 2.6.24.