xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] classloading bug with xom used in servlet
- From: John Cowan <cowan AT ccil.org>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] classloading bug with xom used in servlet
- Date: Wed, 4 Feb 2004 00:38:48 -0500
Elliotte Rusty Harold scripsit:
> Could this string be garbage collected after I'd decoded it into the
> byte array I really want? Or would I be carrying the same 64K of data
> around twice, once in a String and once in a byte array? In which
> case should I just hide the lookup table in the chars of a String
> rather than the bytes of an array in the first place?
I think it would be GC'd if you used it to initialize a String variable
and then set the variable to null after you were done. I'm sure a byte
array would be faster than a String, but I don't know how much faster --
measure it.
--
I am expressing my opinion. When my John Cowan
honorable and gallant friend is called, jcowan AT reutershealth.com
he will express his opinion. This is http://www.ccil.org/~cowan
the process which we call Debate. --Winston Churchill
-
[XOM-interest] classloading bug with xom used in servlet,
Wolfgang Hoschek, 02/02/2004
- Re: [XOM-interest] classloading bug with xom used in servlet, Bill de hÓra, 02/02/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/02/2004
- Re: [XOM-interest] classloading bug with xom used in servlet, Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/02/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
John Cowan, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
- Re: [XOM-interest] classloading bug with xom used in servlet, John Cowan, 02/04/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
John Cowan, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
Archive powered by MHonArc 2.6.24.