altos: Add a simple cache for the FAT position->cluster computation
authorKeith Packard <keithp@keithp.com>
Thu, 28 Mar 2013 23:57:02 +0000 (16:57 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Mar 2013 23:57:02 +0000 (16:57 -0700)
commit8101e4af199a3d79bff434f788cce9f97aeac53a
tree188b593e82e3319be67966163bc0c344f24e96e9
parentc7b606e93a4e4fbd2c0e883352ed74619ee24cf7
altos: Add a simple cache for the FAT position->cluster computation

This improves read/write performance with large files by not
re-walking the cluster chain for every operation

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_fat.c
src/test/ao_fat_test.c