I've checked in a new chunk of code, that attempts to create an attribute cache, dumping all files and attributes in one massive swoop:http://svn.linuxmce.org/trac.cgi/changeset/28134
This seems to only shave a few seconds off the deque creation, at best.
I think the same thing could be added to the MediaAttributes::LoadStreamAttributes(), to maybe shave a second or two off there, but it still remains: dealing with MediaFile and MediaAttributes slows things down immensely. Why? What am I missing? ... Has anyone else dug around in the code?