File talk:Fifo.gif: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
 
(Seems OK?)
Line 1: Line 1:
I believe the 'pop' (or push) animation is wrong, you see, you pop the objects you pushed last, therefore the last object to pop is the one you pushed into first. [[User:Rainb|Rainb]] ([[User talk:Rainb|talk]]) 04:46, 28 August 2013 (UTC)
I believe the 'pop' (or push) animation is wrong, you see, you pop the objects you pushed last, therefore the last object to pop is the one you pushed into first. [[User:Rainb|Rainb]] ([[User talk:Rainb|talk]]) 04:46, 28 August 2013 (UTC)

:In the context of page [[Queue/Definition]] it seems about right. Your definition above is right too.
:I see the diagram as '''push'''ing coloured bars up from the bottom to the top where they are stacked for retrieval off the top by the '''pop''' operation. In at the bottom - out at the top, and no shuffling in-between guarantees the FIFO action. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:03, 28 August 2013 (UTC)

Revision as of 07:03, 28 August 2013

I believe the 'pop' (or push) animation is wrong, you see, you pop the objects you pushed last, therefore the last object to pop is the one you pushed into first. Rainb (talk) 04:46, 28 August 2013 (UTC)

In the context of page Queue/Definition it seems about right. Your definition above is right too.
I see the diagram as pushing coloured bars up from the bottom to the top where they are stacked for retrieval off the top by the pop operation. In at the bottom - out at the top, and no shuffling in-between guarantees the FIFO action. --Paddy3118 (talk) 07:03, 28 August 2013 (UTC)