Dictionary in which the insertion order of items is preserved (using an internal double linked list). In this implementation replacing an existing item keeps it at its original position.
Internal representation: values of the dict::
[pred_key, val, succ_key]
The sequence of elements uses as a double linked list. The
links
are dict keys.self.lh
andself.lt
are the keys of first and last element inseted in the odict. In a C reimplementation of this data structure, things can be simplified (and speed up) a lot if given a value you can at the same time find its key. With that, you can use normal C pointers.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.5.1-bp153.1.13 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.5.1-bp152.3.15 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
1.5.1-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.5.1-bp151.2.11 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.5.1-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|