Yes.

append internally replaces the object, so the new one ends up at the head
naturally. Though even if it didn't, we'd still make it push to the head
on append.

On Fri, 27 Apr 2012, Martin Hellmich wrote:

> Hi,
>
> will using append() on an item put it to the top of the LRU as an add() does?
>
> Cheers
> Martin
>
> --
> Martin Hellmich                    Information Technology Department
> [email protected]                                                CERN
> +41 22 76 765 26                                   CH-1211 Geneva 23
>

Reply via email to