From 4e017b48889a9e8ef8b9d3051798f87c5b8cbb3a Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Mon, 6 Aug 2007 14:05:04 +0200 Subject: [PATCH] Add a quick buffering example. --- buffer-example.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 buffer-example.txt diff --git a/buffer-example.txt b/buffer-example.txt new file mode 100644 index 0000000..68a4197 --- /dev/null +++ b/buffer-example.txt @@ -0,0 +1,7 @@ + -- | -- | -- | -- | -- | -- | -- | - buffer is empty + AM |*A1*| A2 | A3 | A4 | A5 | A6 | - buffer fills, metadata (AM) first. + AM | A1 | A2 |*A3*| A4 | A5 | A6 | - A1 and A2 are read. + -- | -- | AM | A3 |*A4*| A5 | A6 | - A1 and A2 are freed, then AM is moved. + A7 | A8 | -- | -- | AM |*A5*| A6 | - A3 and A4 are freed, then AM is moved, then A7 and A8 are buffered. + A7 | A8 | BM | B1 | AM | A5 |*A6*| - BM and B1 are buffered while A5 is read. +*A7*| A8 | BM | B1 | B2 | B3 | AM | - A5 and A6 are freed, then AM is moved, then B2 and B3 are buffered. -- 2.11.4.GIT