I am developing an android app..
I want to have a storage of about 1000 string.. I started using mysql but found it difficult so I am using Lists now..Will that be too much of a difference or is it okay?
I am developing an android app.. I want to have a storage of about
Share
Don’t pre-optimize. (see also Premature Optimization)
Until you know, or can reasonably estimate, that a method of storage is going to be “too slow”, don’t worry about it. Get the application working then see if the area you were concerned about is really a bottleneck.
1000 Strings really isn’t very much (unless each string is the length of a Dostoyevsky book).
If you already know the strings at compile time (sounds like it), you could load them into an
arrays.xmlfile which gets included in your application at build time.