concept-collection / benchcompress
versions of ans algs
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 35c035b58796 parent 6ec6397 Browse files
1 changed file+4−4
benchcompress/src/benchcompress/algorithms/ans/__init__.pymodified+4−4View file
@@ -447,7 +447,7 @@ def ans_lpc_sparse_decode(x: bytes, dtype: str, shape: tuple) -> np.ndarray:
447447 algorithms = [
448448 {
449449 "name": "ANS",
450- "version": "3",
450+ "version": "11",
451451 "encode": lambda x: ans_encode(x),
452452 "decode": lambda x, dtype, shape: ans_decode(x, dtype, shape),
453453 "description": "ANS compression via simple_ans for efficient data compression.",
@@ -457,7 +457,7 @@ algorithms = [
457457 },
458458 {
459459 "name": "ANS-delta",
460- "version": "3",
460+ "version": "11",
461461 "encode": lambda x: ans_delta_encode(x),
462462 "decode": lambda x, dtype, shape: ans_delta_decode(x, dtype, shape),
463463 "description": "ANS compression via simple_ans with delta encoding for improved compression of sequential data.",
@@ -467,7 +467,7 @@ algorithms = [
467467 },
468468 {
469469 "name": "ANS-lpc",
470- "version": "6",
470+ "version": "11",
471471 "encode": lambda x: ans_lpc_encode(x),
472472 "decode": lambda x, dtype, shape: ans_lpc_decode(x, dtype, shape),
473473 "description": "ANS compression via simple_ans with linear predictive codingn for exploiting temporal correlations in the data.",
@@ -477,7 +477,7 @@ algorithms = [
477477 },
478478 {
479479 "name": "ANS-lpc-zrle",
480- "version": "6",
480+ "version": "11",
481481 "encode": lambda x: ans_lpc_sparse_encode(x),
482482 "decode": lambda x, dtype, shape: ans_lpc_sparse_decode(x, dtype, shape),
483483 "description": "ANS compression via simple_ans with linear predictive codingn and zero run-length encoding for sparse data.",