feat(logic): implement parallel file restore
On my SSDs, this speeds up file restoration by 1.1x to 3x.
Note: includes https://github.com/Lazza/RecuperaBit/pull/132
@Lazza if needed, I can drop the https://github.com/Lazza/RecuperaBit/pull/133/commits/b9b9952aca97e9f8fd2bef310b42a7d85f070b01 commit.
I am wondering if it may be a good idea to implement these parts with asyncio instead. 🤔 Also reading the image file may benefit from that, as well.
I am wondering if it may be a good idea to implement these parts with
asyncioinstead. 🤔 Also reading the image file may benefit from that, as well.
I tried experimenting with that, but it needs more changes first. I think I'll come back to this PR a bit.
Perhaps I'll start by simply the conversion from a recursive call to a loop, and then I'll tackle async.