Ways to write/load h5ad file faster?


I am working with a dataset of size (n_obs=25060, n_vars=18955).
After pre-processing steps, I saved my file using xd.write('pre_processed.h5ad'), xd being my scanpy object.

I then reload this file using:
xd = sc.read('pre_processed.h5ad', cache=True).

I takes approximately 10 minutes on my machine (62GiB of RAM).
I was wondering if there are ways to make writing / loading faster ?

Thanks in advance !

The issue was not coming from scanpy, but it was due to the environment I was working on.
The file I was loading was NFS mounted (which I did not know).
Copying this file to a local disk solved the issue.