|
Rockbox mail archiveSubject: Re: A nasty inefficieny in file.c?Re: A nasty inefficieny in file.c?
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sat, 15 Jul 2006 10:48:17 +0200 Jonathan Gordon wrote: > // move the fd back to AFTER the \n if needed > if (!errno) > lseek(fd,num_read-count+1,SEEK_CUR); That could be a really lengthy operation if it crosses a sector boundary. Linus Received on 2006-07-15 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |