msigdbr
msigdbr copied to clipboard
Slow load of the database
Hi Igor,
I wanted to file an issue that load_msigdb_df takes rather significant amount of time, even if the file is local. It would be nice to improve it.
At the moment I have two suggestions:
-
Very simple and practical: switch to
qs2::qd_save/qs2::qd_read. For me it changes the time from ~15 seconds forRDSto ~3 seconds forqd. -
A bit more involved: to split the file by collections (it also will help to keep the memory footprint down). I could even look at it myself, but not right now.