Closed dokato closed 3 years ago
Thanks @dokato. This is good, but can you add the path to the zip file and its size on disk to the displayed information and make it clear that the currently printed size is just for the portion in memory?
Is message like this okay?
'neuronlistz' containing 3000 neurons objects and 'data.frame' with 1 vars.
Neurons loaded on demand from 'testz.zip' [93.1 MB]. Currently in memory: 998 kB.
Thanks! How about:
'neuronlistz' containing 3000 neurons objects and 'data.frame' with 1 vars [998 kB in RAM].
Loaded on demand from '/x/y/z/testz.zip' [93.1 MB on disk].
Sure, done!
Thanks again @dokato!
Addresses #466 .
I simplified so it doesn't call expensive
contents.classes <- sapply(x, firstclass, USE.NAMES = F)
.Artefact, we don't print the information about neuron types.
Benchmark on 3000 neurons:
Alternatively, we can add another rds that stores that info in zip? WDYT @jefferis ?