Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Small improvements

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Small improvements
  • Date: Mon, 29 Nov 2004 17:38:56 -0500

Wolfgang Hoschek wrote:

It can only be benefitial, never a disadvantage. More accurate static typeinfo leads to less type tests at runtime, faster jumps (already explained by Francois) and better inlining, across all VMs.


Performance wise, perhaps. Design wise, one tends to want to use the most generic type you can to future proof the code. However, since this field is completely private that's a minor issue at most, and I've checked the change in.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page