SDCardLibrary
SwordfishUser.SDCardLibrary History
Show minor edits - Show changes to output
Added lines 6-8:
NOTE: An updated version of this library (v4.1.6) is now included as part of the standard libraries in v2.2.3.0
Added lines 4-5:
Written by [[Profiles.MichaelLebert | Michael Lebert]]
Changed lines 2-3 from:
[[Attach:SDFileSystem_4.1.5.zip | Download SD Library V4.1.5]] \\
SDFileSystem_4.1.5.zip
SDFileSystem_4
to:
[[Attach:SDFileSystem_4.1.5.zip | Download SD Library V4.1.5]] \\
Original forum post can be found [[http://sfcompiler.co.uk/phpBB3/viewtopic.php?f=4&t=2005 | here]].
!!Overview
I noticed that the DIR command to search for all files in a directory becomes extremely slow when large numbers of files are encountered. For example, with a little over 1000 files it could take a couple of minutes to complete. The modifications made to the library reduces this time to only a few seconds. I have also modified the routine that returns the size of a file without the requirement to open the file first.
Original forum post can be found [[http://sfcompiler.co.uk/phpBB3/viewtopic.php?f=4&t=2005 | here]].
!!Overview
I noticed that the DIR command to search for all files in a directory becomes extremely slow when large numbers of files are encountered. For example, with a little over 1000 files it could take a couple of minutes to complete. The modifications made to the library reduces this time to only a few seconds. I have also modified the routine that returns the size of a file without the requirement to open the file first.
Changed lines 2-3 from:
[[Attach:SDFileSystem_4.1.5.zip | Download SD Library V4.1.5]] \\ SDFileSystem_4.1.5.zip
to:
[[Attach:SDFileSystem_4.1.5.zip | Download SD Library V4.1.5]] \\
SDFileSystem_4.1.5.zip
SDFileSystem_4.1.5.zip
Added lines 1-2:
%lfloat text-align=center % http://www.sfcompiler.co.uk/wiki/uploads/icons/download-48x48.png
[[Attach:SDFileSystem_4.1.5.zip | Download SD Library V4.1.5]] \\ SDFileSystem_4.1.5.zip
[[Attach:SDFileSystem_4.1.5.zip | Download SD Library V4.1.5]] \\ SDFileSystem_4.1.5.zip