You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to memc...@googlegroups.com
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
mhel...@cern.ch CERN
+41 22 76 765 26 CH-1211 Geneva 23
dormando
unread,
Apr 30, 2012, 3:12:09 PM4/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to memc...@googlegroups.com
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.