[jdom-interest] getDocument() patch

Jason Hunter jhunter at acm.org
Mon Sep 25 13:55:22 PDT 2000


> An alternative solution would be to subclass Element. Name the 
> subclass RootElement
> ...
> The advantage of my suggested approach is mailly less memory 

I added a comment in Element.java pointing at this email in the archives
so if in the future we're ever needing to do memory cutting, we'll have
that idea on record.  Adding a subclass to save 4 bytes now would be a
definite premature optimization.

-jh-



More information about the jdom-interest mailing list