home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,886 of 2,978   
   Marco van de Voort to Jim Leonard   
   Re: Memory, objects, and TCollections   
   24 Jul 12 16:20:50   
   
   76a0a223   
   From: marcov@toad.stack.nl   
      
   On 2012-07-23, Jim Leonard  wrote:   
   >> > very reusable from application to application.   
   >>   
   >> +1   
   >   
   > I was afraid of this; thanks for all the suggestions.  I already have   
   > the ability to store objects in both an EMS and XMS stream, so I guess   
   > I'll have rewrite the object management to use streams when the time   
   > comes (a shame, since TSortedCollection really solves a lot of   
   > problems for me, and stream-based access is going to be an order of   
   > magnitude slower).  Oh well!   
      
   IMHO the objective should be to kill the legacy, not change good (abstract)   
   code to legacy ;-) IOW, time to bite the bullet and move into the 32-bit   
   space? (or be radical and move directly to 64-bit?)   
      
   > When the project I'm working on is done, I'll post a short note about   
   > it here.   
      
   Note that most default ordered collections in TP and Delphi (resp. tsorted*,   
   tstringlist) do not scale very well beyond a few tens of thousands of   
   entries. The TP ones max out already on 16384 items though.   
      
   Inserting an item in larger collections becomes very slow because   
   it has to move (on average) n/2 items.   
      
   So if you want to go to that magnitude, there will be more rethinking   
   involved.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca