![]() |
Fifo
Description: A simple first in, first out class.Keywords: ecl containers fifo
Tutorial Level: BEGINNER
During the construction of fifo, typically length of buffer may be important.
An initialised buffer can be important in variaous situation. For example, if you wish to calculate a moving average, you should wait for N (length of buffer) pieces of incoming of data. However, if you initialise the whole buffer as above, you can proceed immediately.