View Single Post
Posts: 63 | Thanked: 43 times | Joined on May 2008
#25
Originally Posted by wklink View Post
I love the improvements (cover art and the playlist tab, especially). However, I have a playlist with 265 entries and this version of panucci takes it 44 seconds to load. Another playlist has 412 entries and took 1 minute 46 seconds to load. Version 0.3 loaded both lists virtually instantly. Most songs in both of those playlists have cover art (cover.jpg in the directory), so I'm assuming that's what's slowing it down. It takes just as long if I load the playlist or restart panucci with those playlists already loaded.
So, I looked into it and it's much worse than I thought...

The good news is that I was planning to revamp the way the playlist/queue for 0.5. I made a poor choice by basing the Queue on a list which has much slower access time than a dict when it comes to locating items.

Anyway, I have a hacky fix for the meantime which drastically speeds up the queue's "get_item" function (which turned out to be the real culprit). It still might not be as fast as it used to be but you shouldn't have to wait a minute to load a gigantic playlist.

Here's a link to the new package: panucci_0.3~0.4-2