I've switched recently from custom cache system to BiocFileCache inside my biodb package.
However, now, in one of the comming extension packages of biodb (biodbHmdb) I need to move more than 100,000 files at once into BiocFileCache.
For this I call
bfcadd() on each file inside a loop, and it takes forever to complete.
Is there a faster way of achieving this or would it be possible to improve BiocFileCache for such a purpose?