Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-592

Investigate if lru_cache can be added to more functions

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Indexer
    • Labels:
      None

      Description

      At the moment, only a few functions in sir/wscompat/convert.py use it, but I imagine this could be useful for more functions as well:

      • the recording XML data shares a lot of information between different recordings, for example release information data (release events, types, status, ...)
      • the same goes for releases in the same release group
      • again for recordings, `iterate_path_values` operates on the same release multiple times on the same path for different recordings
      • the same is true for releases again

        Attachments

          Activity

            People

            Assignee:
            Pac23 Manas Mangaonkar
            Reporter:
            mineo Wieland Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package