1
vote
Vote UpVote

Delphi TList.Grow and TStringList.Grow perform differently

The Wiert Corner – Just as a reminder to self: the non-generic TStringList and TList grow way less aggressive than the generic TList: TList.Grow and TStringList.Grow: 4, 8, 12, 28, 44, 60, 76, 95, 118, 147, 183, 228, 285, 356, 445, 556, 695, 868, 1085 Generic TList growth via TListHelper.InternalGrow: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 Sources: [WayBack]¬†I was just looking at TList.Grow (and TStringList.Grow) and I realized that t… [WayBack]¬†Generics.Collections – TList / TListHelper grows list size too aggressivel… –jeroen
Favorite? Off-Topic? jpluimers @ 2018-07-12 07:04

Statistics

Visits: 485
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)