Re: SimpleLibraryViews plugin update increases library build time by a factor of 10

adhawkins <adhawkins.akqlqn-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Fri, 20 May 2022 18:57:24 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
A quick look through the code (my Perl is rusty!) suggests that
inMediaFolder is calling down into pathFromFileURL, which *does* involve
a trip to the filesystem, but this result should be cached. If my use of
'inMediaFolder' OK as I rise up the directory tree, to make sure I don't
leave the defined media folders?

I'm tempted to take this check out and just allow it to go right up to
the root to see if it has any beneficial effect on the build time.

Andy


------------------------------------------------------------------------
adhawkins's Profile: http://forums.slimdevices.com/member.php?userid=650
View this thread: http://forums.slimdevices.com/showthread.php?t=116400