Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Possible ArrayList optimization

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Possible ArrayList optimization
  • Date: Fri, 9 May 2003 17:05:21 -0400

Elliotte Rusty Harold scripsit:
> Internally XOM uses ArrayLists to hold both children and attributes.
> While debugging an unrelated test failure (I hate EBCDIC!)

ASCII no questions, EBCDIC no lies!

> that these array lists are created by default with a capacity of 10.

That's the same size used in the Smalltalk collections package since time
immemorial. By all means shorten it.

--
John Cowan jcowan AT reutershealth.com www.ccil.org/~cowan
www.reutershealth.com
I must confess that I have very little notion of what [s. 4 of the British
Trade Marks Act, 1938] is intended to convey, and particularly the sentence
of 253 words, as I make them, which constitutes sub-section 1. I doubt if
the entire statute book could be successfully searched for a sentence of
equal length which is of more fuliginous obscurity. --MacKinnon LJ, 1940




Archive powered by MHonArc 2.6.24.

Top of Page