I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution.
NB: I'm obviously aware that this can be achieved by iterating through each of the SPWeb.Lists properties, however this doesn't sound very performance-savvy.
I initially though I could use the SPSiteDataQuery class as it allows you to select items from across multiple lists (plus restrict the query by list template ID and define the search scope), however I don't need the items from the retrieved lists -- just information about the lists themselves. I suppose I could grab the List ID from each of the returned results and do a lookup to get the SPList object, but that seems even more taxing.
I am merely trying to populate a dropdown menu in a custom "slideshow" web part's property tool pane with a list of all the picture libraries in the site which the user can select to display images from. Ideas?