Zeljko Trogrlic wrote: > At 08:52 23.12.99 -0600, you wrote: > >> 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. > > > >I would rather not carry yet another redundant list around every > >element, if > >attribute order is necessary we need to invent a new key:value storage > >mechanism that is light weight and fast and whose order is gauranteed, > >and > >change the core of ecs to use it. > > > >-stephan > > Do you think that Vector + Hashtable occupies too much space? Yes. I'm dealing with documents that are 100,000+ elements in length with 2x that number in attributes. The way it is now we are consuming too much memory, I have some changes that i haven't checked in yet that reduce the number of initial vector objects and hashentries which cuts the memory consumption down considerably but having to duplicate storage is an expenesive operation that I would care to avoid, and get rid of. -stephan -- ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
