My main living room HTPC contains an AMD Zacate e350 CPU.
Selecting the 1800 albums takes 1 sec. Selecting the 1200 artists takes 3 secs. (everything rounded up or down)
That means that the library artist view is 4.5 times slower than the album view!
Therefore I played with method CMusicDatabase::GetArtistsNav() in order to make it quicker.
My solution is to change the loop in which the data is fetched:
// get data from returned rows
CStdString strArtist = m_pDS->fv("strArtist").get_asString();
CFileItemPtr pItem(new CFileItem(strArtist));
int idArtist = m_pDS->fv("idArtist").get_asInt();
pItem->SetPath(strBaseDir + strDir);
Problem: I don't know the reason for the GetArtistInfo() call. Everything "seems" to work. Even the Info key gives me the artist info.
Am I wrong or is this a possible performance optimization?