Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #3980
| From | Intelli2 <intelli2@mama.com> |
|---|---|
| Newsgroups | comp.programming.threads |
| Subject | I have looked at TStringList and TList of FreePascal |
| Date | 2017-12-13 15:34 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <p0s2s2$gq2$2@dont-email.me> (permalink) |
Hello, I have looked at TStringList and TList of FreePascal, and they are using a Delta on the Grow() method of TStringList and TList, like this: if FCapacity > 64 then Delta := FCapacity div 4 So since the Delta is scaling, so copying of the dynamic array when resizing is needed is efficient, so TList and TStringList of Delphi and FreePascal are also efficient, so no need for Hashed Array Tree. Thank you, Amine Moulay Ramdane.
Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread
I have looked at TStringList and TList of FreePascal Intelli2 <intelli2@mama.com> - 2017-12-13 15:34 -0500
csiph-web