Commit d9bd4519 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files


parent dea8b2da
......@@ -19,7 +19,7 @@ strange and many other devices. The source is written in pure Java.
## Goals
* _To be self-hosting_ - it can build itself while running on itself, provided
there is a filesystem.
there is a filesystem and enough memory.
* _To be small_ - Smaller programs are easier to maintain and are usually
* _To be fast_ - With the potential of AOT/JIT, systems that do not normally
......@@ -13,6 +13,12 @@ package;
* This represents a sliding byte window.
* It is allocated in chunks of a given fragment size so that the entire window
* is not allocated in its entirety until it is actually used.
* In the future this class may support a kind of compression so that older
* bytes in the sliding window may be compacted when they are not used.
* @since 2016/03/10
public class SlidingByteWindow
......@@ -229,7 +235,8 @@ public class SlidingByteWindow
* This reads bytes
* This reads bytes from the sliding window at a given historical index
* and writes them to the input array.
* @param __ago How many bytes in the past to read.
* @param __b The output array of bytes to write.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment