Python Forum
Independent Secondary index for dictionary - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Independent Secondary index for dictionary (/thread-14860.html)

Pages: 1 2


RE: Independent Secondary index for dictionary - buran - Dec-20-2018

(Dec-20-2018, 07:20 PM)ichabod801 Wrote: UserDictionary?)
I was thinking of multikeydict :-) and use tuple of sub-keys as one composite key.
One possible problem (but it may be also a feature) - it may happen that more than one composite key has same partial key (sub-key). Then it will have to return multiple values.