PaulStoffregen / LittleFS

73 stars 20 forks source link

Placeholder note on lookahead #9

Open Defragster opened 3 years ago

Defragster commented 3 years ago

//config.lookahead_size = config.block_count/8;

That comment is in places - as not tested for true effect. According to LFS doc larger lookahead allows faster block locate for block placement. It is internal LFS bitmap of used blocks.

LFS Code study would show if it gets filled and maintained in use - or just means it will waste more time filling each time needed?

If maintained it would be good to hand off instead of traverse