Seth Ladd wrote: > > > <but-can-fix> > > This really is only important in Process Instructions... what are your > > thoughts on adding a instanceof check at output, and if it is an > > instance of PI.java, don't turn into an enumeration, but instead > > manually iterate? > > </but-can-fix> > > I would say, if you're going to fix it, just keep the order for all > atrributes, not just PI's. It doesn't hurt, and the code will look > cleaner. It hurts performance a ton... you have to carry around a lot more stuff... e.g. the Vector you are talking about. This too me is the good of the one (PI.java) should _not_ outweigh the good of the few. I think until the Registry class handles it, it shouldn't be made global... -Brett > > Seth > > ps ECS does those elsewhere by keeping both a Vector and a Hashtable to > keep mappings /and/ order. There has been talk about implementing a sort > of Registry class which would do both w/ less overhead. > > -- > ------------------------------------------------------------ > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > Archives and Other: <http://java.apache.org/main/mail.html> > Problems?: [EMAIL PROTECTED] -- ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
