Ok sounds good. I'm just looking out for my poor under-powered raspberry
pi!
On 14 Jan 2014 20:59, "Thomas Adamcik" <notifications@github.com> wrote:

> In mopidy/local/json.py:
>
> >      def load(self):
> >          logger.debug('Loading json library from %s', self._json_file)
> >          library = load_library(self._json_file)
> >          self._tracks = dict((t.uri, t) for t in library.get('tracks', []))
> > +        self._browse_cache = _BrowseCache(sorted(self._tracks))
>
> Reason that this is in the json library and not in the local proxy library
> is exactly the cost of building the cache. My anecdotal evidence so far is
> that doing the json loading is much slower than building the cache.
> Building the cache takes about 0.5s for 14k songs, though I have a fairly
> beefy machine. As for the sort, we are not sorting the tracks, as this is
> really a sorted(self._tracks.keys()), so this is just a list of uris.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mopidy/mopidy/pull/640/files#r8875714>
> .
>