[h5py] 447/455: Reduce default block size for CORE driver

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:20:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.

commit d5dfb27f3b68549017e7352101d6cd9423fc5395
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Sun Mar 14 00:42:53 2010 +0000

    Reduce default block size for CORE driver
---
 h5py/h5p_faid.pxi | 4 ++--
 h5py/highlevel.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/h5py/h5p_faid.pxi b/h5py/h5p_faid.pxi
index 958ee11..e9dba1b 100644
--- a/h5py/h5p_faid.pxi
+++ b/h5py/h5p_faid.pxi
@@ -47,8 +47,8 @@ cdef class PropFAID(PropInstanceID):
         return deg
 
     
-    def set_fapl_core(self, size_t block_size=1024*1024, hbool_t backing_store=1):
-        """(UINT increment=1M, BOOL backing_store=True)
+    def set_fapl_core(self, size_t block_size=64*1024, hbool_t backing_store=1):
+        """(UINT increment=64k, BOOL backing_store=True)
 
         Use the h5fd.CORE (memory-resident) file driver.
 
diff --git a/h5py/highlevel.py b/h5py/highlevel.py
index 833029a..baa034e 100644
--- a/h5py/highlevel.py
+++ b/h5py/highlevel.py
@@ -705,7 +705,7 @@ class File(Group):
                             in memory and is discarded when closed.
 
             block_size:     Increment (in bytes) by which memory is extended.
-                            Default is 1 megabyte (1024**2).
+                            Default is 64k.
 
         'family'
             Store the file on disk as a series of fixed-length chunks.  Useful

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list