Self reordering list in Python

Fredrik Lundh fredrik at
Thu Sep 15 17:21:51 CEST 2005

Laszlo Zsolt Nagy wrote:

> Do you know how to implement a really efficient self reordering list in
> Python? (List with a maximum length. When an item is processed, it
> becomes the first element in the list.) I would like to use this for
> caching of rendered images.

did you check the cheeseshop?


More information about the Python-list mailing list