Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] QName flyweights

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Metalab <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] QName flyweights
  • Date: Thu, 9 Jun 2005 16:44:24 -0400


On Jun 9, 2005, at 4:01 PM, Wolfgang Hoschek wrote:



setPrefix, setURI, setName, setLocalName are all complicated by flyweight qnames.


They are not significantly more complicated, IMHO. It's always the same simple pattern (and it's commonality can be factored out).




Agreed. These are all uncommon operations anyway. Most applications will never call any of these methods. I wouldn't object to them getting slower if it meant memory were saved and other more common operations

--
Elliotte




Archive powered by MHonArc 2.6.24.

Top of Page