java - The best way to organise data on SD card for fast searching -
i have next model, need store on sd card:
artist->album->track playlist (user adds here tracks) currently store tracks on 1 level using playlistid_artistid_albumid_trackid name. after downloading lot of tracks performance falls. best way store hierarchical data(playlists not in hierarchy - problem) fast searching?
edit:
i need have possibility looking for:
tracks trackid, albumid, artistid, playlistid
albums artistid, playlistid
artists playlistid
and on...
i've reorganised structure next one:
- tree structure "artist->album->track"` on sd card - db on sd card links playlists , tracks ids. it resolved performance problem.
Comments
Post a Comment