Skip to content

Commit

Permalink
Use lz4 compression as default (as reccommended here https://github.c…
Browse files Browse the repository at this point in the history
  • Loading branch information
Phelimb committed Jul 8, 2018
1 parent adc5be5 commit 1680355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bigsi/graph/probabilistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def chunks(l, n):


def unpack_bas(bas, j):
logger.debug("ncores: %i" % j)
# logger.debug("ncores: %i" % j)
if j == 0:
res = unpack_and_sum(bas)
return res
Expand Down
2 changes: 1 addition & 1 deletion bigsi/storage/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def __init__(self, filename=None, mode="r", cachesize=4, decode=None, store_int_
else:
create_if_missing=True
self.storage = rocksdb.DB(self.db_file, rocksdb.Options(create_if_missing=create_if_missing,
compression=rocksdb.CompressionType.no_compression))
compression=rocksdb.CompressionType.lz4_compression))
except AttributeError:
raise ValueError(
"Please install rocksdb to use rocks DB storage")
Expand Down

0 comments on commit 1680355

Please sign in to comment.