Wednesday, March 21, 2012

[android-developers] open penalty


Is there a significant performance penalty for opening files on the SD card?

For instance, if you try to play a movie by opening 1000 PNG files in a directory on the sd card, is this way worse than having them all concatenated in one file?

My (probably flawed analysis) is this:

Since the SD card is not a hard drive, the 10ms or so seek penalty is not there.  So, there probably isn't much difference.

Anyone have any other views? 

FYI, I'm basically working on a hi-res loss-less movie player.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment