Re: Ordered dicts
- From: Duncan Booth <duncan.booth@xxxxxxxxxxxxxxx>
- Date: 26 Sep 2006 14:36:04 GMT
bearophileHUGS@xxxxxxxxx wrote:
An alternative to a doubly linked list might be to never reuse deletedThen if you reinsert the deleted value it goes back in at its
original order.
Uhm, this doesn't sound good. Thank you, I missed this detail :-)
Then the doubly-linked list, and the links fixing seem necessary...
entries but if the number of deleted entries exceeds a certain proportion
just pack the dictionary.
.
- References:
- Ordered dicts
- From: bearophileHUGS
- Re: Ordered dicts
- From: Duncan Booth
- Re: Ordered dicts
- From: bearophileHUGS
- Ordered dicts
- Prev by Date: Re: Remap Mysql tuple to dictionary
- Next by Date: Re: ultra newbie question (don't laugh)
- Previous by thread: Re: Ordered dicts
- Next by thread: Re: Ordered dicts
- Index(es):