View Single Post
Old 05-11-2010, 11:28 AM   #69
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by chaley View Post
I will put the cache into the beta, ignoring the sony (for the moment).
I have added user_none's metadata caching code. It is 50% faster on my HTC, but I don't know whether that is indicative of performance on other devices. Certainly USB1 devices will speed up much more. I also found that when I put PDFs on my phone, the old code slowed down while the new code didn't. Bottom line: it helps, but we will need to see how much.

Also, I removed the ID from the filenames for devices other than Sonys, because it serves no purpose.

Finally, note that the first time you use this code to open a device, it will not be any faster, and could be slower. It must build the metadata cache.

Kovid, the code is in the my lp repository for your review. Also, my HTC driver is there. I would appreciate it if we could keep that driver at least until the release, because it is incredibly useful for my testing.
chaley is offline   Reply With Quote