Content deleted Content added
Tag: Reverted |
m Reverted edits by 59.92.235.60 (talk) to last revision by Mako001: nonconstructive edits |
||
Line 37:
:[[Image:Circular buffer - X789ABX.svg|250px]]
==
The useful property of a circular buffer is that it does not need to have its elements shuffled around when one is consumed. (If a non-circular buffer were used then it would be necessary to shift all elements when one is consumed.) In other words, the circular buffer is well-suited as a [[FIFO (computing and electronics)|FIFO]] (''first in, first out'') buffer while a standard, non-circular buffer is well suited as a [[LIFO (computing)|LIFO]] (''last in, first out'') buffer.
|