One more think which can be speed-up is ObjectHandle.close() which is called quite often. It can be done by avoiding calls to H5Iget_type and storing the object type in the class instance variable. It is unlikely that the type of the object has been changed.