If I already have a copy of a file open, how can I open a second copy of it as quickly as possible?
This first sd.open() operation takes about 850 uS. I assume that a chunck of that time is spent actaully looking for the file on the SD. If I want a second copy of the file (file2), is there a way to speed up the opening by using information from the file1?
This first sd.open() operation takes about 850 uS. I assume that a chunck of that time is spent actaully looking for the file on the SD. If I want a second copy of the file (file2), is there a way to speed up the opening by using information from the file1?
Code:
file1 = sd.open(filename, FILE_READ);
//Is there was to open this quicker by uing my file1 reference?
file2 = sd.open(filename, FILE_READ);