Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.pascal.borland > #113
| From | Marco van de Voort <marcov@toad.stack.nl> |
|---|---|
| Newsgroups | comp.lang.pascal.borland |
| Subject | Re: Memory, objects, and TCollections |
| Date | 2012-07-24 16:20 +0000 |
| Organization | Stack Usenet News Service |
| Message-ID | <slrnk0tir2.13v1.marcov@toad.stack.nl> (permalink) |
| References | <45fb5804-296d-43f4-bd0d-ec3d109a5d27@y12g2000yqe.googlegroups.com> <slrnk0oqt8.1kcg.marcov@toad.stack.nl> <a73kb8FbdcU1@mid.individual.net> <26f0e9a9-0108-478f-9319-f1a88a773a51@d32g2000yqn.googlegroups.com> |
On 2012-07-23, Jim Leonard <mobygamer@gmail.com> 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.
Back to comp.lang.pascal.borland | Previous | Next — Previous in thread | Next in thread | Find similar
Memory, objects, and TCollections Jim Leonard <mobygamer@gmail.com> - 2012-07-22 11:02 -0700
Re: Memory, objects, and TCollections Marco van de Voort <marcov@toad.stack.nl> - 2012-07-22 21:07 +0000
Re: Memory, objects, and TCollections Robert AH Prins <spamtrap@prino.org> - 2012-07-23 02:31 +0000
Re: Memory, objects, and TCollections Jim Leonard <mobygamer@gmail.com> - 2012-07-23 11:33 -0700
Re: Memory, objects, and TCollections Marco van de Voort <marcov@toad.stack.nl> - 2012-07-24 16:20 +0000
Re: Memory, objects, and TCollections Jim Leonard <MobyGamer@gmail.com> - 2012-07-26 14:19 -0700
Re: Memory, objects, and TCollections Marco van de Voort <marcov@toad.stack.nl> - 2012-07-27 10:46 +0000
Re: Memory, objects, and TCollections Jim Leonard <mobygamer@gmail.com> - 2012-07-23 11:42 -0700
Re: Memory, objects, and TCollections Marco van de Voort <marcov@toad.stack.nl> - 2012-07-25 12:10 +0000
Re: Memory, objects, and TCollections Jim Leonard <MobyGamer@gmail.com> - 2012-07-26 14:21 -0700
Re: Memory, objects, and TCollections Marco van de Voort <marcov@toad.stack.nl> - 2012-07-27 11:13 +0000
csiph-web