Hello,

I am trying to use a HDF5 Table as an in-memory structure, but it
seems incredibly slow.  I am attaching a copy of my test code.  It
opens a file in memory and never writes it to disk.  Appending 10000
records takes about 2.5 seconds.  Doing this with a std::vector is two
orders of magnitude faster.

So my question is, is this expected?  Is there a way to make
H5TBappend_records competitive with std::vector::push_back?

Thanks,
Walter Landry

p.s. FYI, I compiled my test code with

  mpicxx -Ofast hdf5_make_table.c -o hdf5_make_table -lhdf5 -lhdf5_hl

and I am using HDF5 1.8.8.

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to