RecuperaBit icon indicating copy to clipboard operation
RecuperaBit copied to clipboard

feat(logic): implement parallel file restore

Open aviallon opened this issue 3 months ago • 3 comments

On my SSDs, this speeds up file restoration by 1.1x to 3x.

Note: includes https://github.com/Lazza/RecuperaBit/pull/132

aviallon avatar Sep 28 '25 21:09 aviallon

@Lazza if needed, I can drop the https://github.com/Lazza/RecuperaBit/pull/133/commits/b9b9952aca97e9f8fd2bef310b42a7d85f070b01 commit.

aviallon avatar Sep 28 '25 23:09 aviallon

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.

Lazza avatar Oct 16 '25 23:10 Lazza

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 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.

aviallon avatar Oct 18 '25 10:10 aviallon