Quote:
Originally Posted by Clemenseken
And one more thing:
I made a little test with a 5MB file. Only reading the lines without actively searching took more than 30 seconds. So 15MB would be nearly 2 minutes! [...]
|
It came to my mind this morning that I use a very old 16MB Multimedia Card (MMC) for development:
Its advantage is that the ereader can scan it very fast. And it's flatter than SD cards: so it's easier to insert.
BUT IT'S VERY SLOW.
I just repeated my test with
spooky69's 15MB dictionary on a 256MB card:
Finding the last word (zythum) took about 50-55 secs.
Just reading the file took about 33 secs.
(You can imitate "Only reading" by using the next/previous buttons; that one just counts and reads lines without comparison.)
If anybody reads this post who is experienced with fast file access - you are urgently invited to share your knowledge: how can the fucntion "this.readline()" be quickened or replaced to get faster results ?!? (e.g.: omitting the first half of a file or s.th. else...)
Thanx a lot !!! Clemens