Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] indexOf O(1) patch?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'John Cowan'" <jcowan AT reutershealth.com>
  • Cc: 'Elliotte Harold' <elharo AT metalab.unc.edu>, xom-interest AT lists.ibiblio.org, 'Wolfgang Hoschek' <whoschek AT yahoo.com>
  • Subject: RE: [XOM-interest] indexOf O(1) patch?
  • Date: Tue, 1 Feb 2005 23:36:28 -0000

> For XOM this would need to be a WeakHashMap so that when the
> Node becomes
> garbage, Java doesn't hang on to the entry in the mapping table.
>
> (I don't know whether this would benefit Saxon or not.)

Saxon trees are immutable - which makes life much easier!

Michael Kay





Archive powered by MHonArc 2.6.24.

Top of Page