replace all `h5::[.]` calls with `readDataset(openDataset(.))`
Closed this issue · 2 comments
mkoohafkan commented
waaaaaay faster
mkoohafkan commented
implemented WOW
mkoohafkan commented
Possible memory leak; I didn't add any code to close groups, e.g. h5close(dataset.object)
need to add a function like this:
get_dataset = function(x, path, type){
g = openDataSet(x, path, type)
on.exit(h5close(g))
readDataset(g)
}