A multi index container: TIndexedStore – Martin C Harvey’s Software Pages
Posted by jpluimers on 2019/11/13
For single-indexed containers, you can use a generic TDictionary, for instance one of these:
- Spring.Collections.Dictionaries.pas / Spring.Collections.Dictionaries.TDictionary(TKey,TValue)
- Collections.Dictionaries.pas
- [Archive.is] Generics.Collections.TDictionary – RAD Studio VCL Reference
Reminder to self: check out if there is a generic version of [WayBack] A multi index container: TIndexedStore – Martin C Harvey’s Software Pages anywhere.
Edit 20191220 (thanks Thaddy!) article moved to [WayBack] A multi index container: TIndexedStore – Martin C Harvey’s Pages.
For instance as part of:
The original library has source code in a [WayBack] zip file.
Edit 20191220 (thanks Thaddy!) download moved to [WayBack] IndexedStore.zip.
I got there via:
- [WayBack] Boost.MultiIndex Documentation – Index – 1.62.0
- Multimap – Wikipedia
- [WayBack] Delphi multiple indexed generic list – Stack Overflow
- [WayBack] I have a record of arrays where i search and add new items and want to speed up things. removing ansicompare was a big step forward bit as much the coun… – Yusuf Zorlu – Google+
–jeroen
thaddy said
http://www.martincharvey.net/
jpluimers said
Thanks. Fixed.
thaddy said
Jeroen,
You need to change the extension of the link to Martin’s home page from .tk to .net
All sources are still – or better:again! – available from the source himself.
egroups said
Page not found
jpluimers said
Thaddy mentioned the non-wayback links moved. I fixed them.