Skip to content

Commit 1e48bd0

Browse files
committed
Extending the 'random access' documentation.
1 parent 7dc7401 commit 1e48bd0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/me/lemire/integercompression/SkippableIntegerCODEC.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
/**
1212
* Interface describing a standard CODEC to compress integers. This is a
13-
* variation on the IntegerCODEC interface meant to be used for random access.
13+
* variation on the IntegerCODEC interface meant to be used for random access
14+
* (i.e., given a large array, you can segment it and decode just the subarray you need).
1415
*
1516
* The main difference is that we must specify the number of integers we wish to
1617
* decode. This information should be stored elsewhere.

src/main/java/me/lemire/longcompression/SkippableLongCODEC.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
/**
1313
* Interface describing a standard CODEC to compress longs. This is a
14-
* variation on the LongCODEC interface meant to be used for random access.
14+
* variation on the LongCODEC interface meant to be used for random access
15+
* (i.e., given a large array, you can segment it and decode just the subarray you need).
1516
*
1617
* The main difference is that we must specify the number of longs we wish to
1718
* decode. This information should be stored elsewhere.

0 commit comments

Comments
 (0)