Files
Joe ElliottandGitHub ba1d670445 Compressed Blocks? Compressed Blocks! (#504)
* Added basic structure for compression

Signed-off-by: Joe Elliott <[email protected]>

* AppenderBuffered impl

Signed-off-by: Joe Elliott <[email protected]>

* mild commenting

Signed-off-by: Joe Elliott <[email protected]>

* moved encoding to meta json

Signed-off-by: Joe Elliott <[email protected]>

* Added pagedReader and backend.ReaderAt

Signed-off-by: Joe Elliott <[email protected]>

* dedupingfinder => pagedfinder

Signed-off-by: Joe Elliott <[email protected]>

* Abstracted away index reading.  Used pagedFinder in backend block

Signed-off-by: Joe Elliott <[email protected]>

* Abstracted PagedIterator to use indexReader

Signed-off-by: Joe Elliott <[email protected]>

* improved comments

Signed-off-by: Joe Elliott <[email protected]>

* created versioned encoding

Signed-off-by: Joe Elliott <[email protected]>

* removed findmetrics

Signed-off-by: Joe Elliott <[email protected]>

* Moved backend block to encoding

Signed-off-by: Joe Elliott <[email protected]>

* Moved indexreader records to common

Signed-off-by: Joe Elliott <[email protected]>

* Added index reader

Signed-off-by: Joe Elliott <[email protected]>

* jpe cleanup

Signed-off-by: Joe Elliott <[email protected]>

* v1 LIVES

Signed-off-by: Joe Elliott <[email protected]>

* Tests pass on v1

Signed-off-by: Joe Elliott <[email protected]>

* encoding tests pass

Signed-off-by: Joe Elliott <[email protected]>

* wooo snappy tests

Signed-off-by: Joe Elliott <[email protected]>

* Moved block config to its own struct

Signed-off-by: Joe Elliott <[email protected]>

* Add custom marshaller

Signed-off-by: Joe Elliott <[email protected]>

* updated configs added default

Signed-off-by: Joe Elliott <[email protected]>

* Test all encodings

Signed-off-by: Joe Elliott <[email protected]>

* Added benchmark.  Default to snappy

Signed-off-by: Joe Elliott <[email protected]>

* fixed panic in reader

Signed-off-by: Joe Elliott <[email protected]>

* Fleshed out benchmarks

Signed-off-by: Joe Elliott <[email protected]>

* lint

Signed-off-by: Joe Elliott <[email protected]>

* backend_block => benchmark_block

Signed-off-by: Joe Elliott <[email protected]>

* Added 256 and 1M LZ4 tests

Signed-off-by: Joe Elliott <[email protected]>

* Removed findmetrics from operational

Signed-off-by: Joe Elliott <[email protected]>

* indexreaderbytes => indexreader

Signed-off-by: Joe Elliott <[email protected]>

* jpe cleanup

Signed-off-by: Joe Elliott <[email protected]>

* Fixed bytes flushed metric

Signed-off-by: Joe Elliott <[email protected]>

* Changed default encoding

Signed-off-by: Joe Elliott <[email protected]>

* Pass tracker correctly.  Add guard code

Signed-off-by: Joe Elliott <[email protected]>

* Added marshal tests

Signed-off-by: Joe Elliott <[email protected]>

* lint

Signed-off-by: Joe Elliott <[email protected]>

* page reader tests

Signed-off-by: Joe Elliott <[email protected]>

* actually add tests

Signed-off-by: Joe Elliott <[email protected]>

* Added reader tess

Signed-off-by: Joe Elliott <[email protected]>

* changelog

Signed-off-by: Joe Elliott <[email protected]>

* zstd

Signed-off-by: Joe Elliott <[email protected]>

* vendor

Signed-off-by: Joe Elliott <[email protected]>
2021-02-05 14:58:39 -05:00

29 lines
1.4 KiB
Plaintext

Copyright (c) 2015, Pierre Curto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of xxHash nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.