-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TreeList<T>? #97
Labels
question
Further information is requested
Comments
On 13 May 2021, at 20.55, Shadowblitz16 ***@***.******@***.***>> wrote:
I just installed C5 2.5.3 and there doesn't seem to be a TreeList type.
I need a ordered, generic tree collection that allows duplicates
What is the usage scenario?
Would a MultiDictionary be sufficient, see the C5 handbook section 11.12, eg here:
https://www.itu.dk/research/c5/latest/ITU-TR-2006-76.pdf
Peter
|
I wanted to use it for a entity component system. |
On 17 May 2021, at 23.50, Shadowblitz16 ***@***.******@***.***>> wrote:
I wanted to use it for a entity component system.
I need the items to be reorderable and allow multiple instances of the same object
So the items are not ordered by a comparer?
Peter
|
no by a index |
Would a HashedLinkedList<T> where the hashing is on that index serve this purpose? Constant-time access to items by index, reorderable, duplicate objects (but not indices) allowed, sequential traversal, insertion etc
On 21 May 2021, at 01.23, Shadowblitz16 ***@***.******@***.***>> wrote:
no by a index
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#97 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFSQEH5CQ3CX2UQDPSJUSTTOWKVRANCNFSM443B735Q>.
|
Is a HashedLinkedList a tree collection? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just installed C5 2.5.3 and there doesn't seem to be a TreeList type.
I need a ordered, reorderable, generic tree collection that allows duplicates
The text was updated successfully, but these errors were encountered: