You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick commit review - I don't think they're preallocating primarily to reduce filesystem fragmentation. They're doing it to avoid inner-file fragmentation, internally the file is ordered - see line 364 266d849
So when you go to read it, you're not seeking all over, the file becomes indexed.
Not sure how the miner code handles reading the file. Would have to review to ensure it uses that indexed order to benefit.
Pre-allocation may be useless
Please consider making pre-allocation optional.
Thanks.
The text was updated successfully, but these errors were encountered: