Skip to content
Browse files

Default compression level set to 9.

This is best for solid compressed buffers, like the ones that the
blosc python package is designed to work with (specially medium to
large array pickles).
  • Loading branch information...
1 parent f5b7be3 commit 8d7552fa8fe36f5d6ea6a6158836f29ca34392fd @FrancescAlted committed Sep 30, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 blosc/
6 blosc/
@@ -105,8 +105,8 @@ def free_resources():
-def compress(string, typesize, clevel=5, shuffle=True):
- """compress(string, typesize[, clevel=5, shuffle=True]])
+def compress(string, typesize, clevel=9, shuffle=True):
+ """compress(string, typesize[, clevel=9, shuffle=True]])
Returns compressed string.
@@ -118,7 +118,7 @@ def compress(string, typesize, clevel=5, shuffle=True):
The data type size.
clevel : int (optional)
The compression level from 0 (no compression) to 9
- (maximum compression). The default is 5.
+ (maximum compression). The default is 9.
shuffle : bool (optional)
Whether you want to activate the shuffle filter or not.
The default is True.

0 comments on commit 8d7552f

Please sign in to comment.
Something went wrong with that request. Please try again.