From: Jonatan L. <li...@ky...> - 2006-01-26 22:24:19
|
On Fri, 27 Jan 2006 07:32:45 +1100 Lennon Cook <mag...@gm...> wrote: > Jonatan Liljedahl wrote: > > > But this could easily end up taking as much time as scanning the > > > $LIBDIRPATH directories (although, I admit, it does have the > > > advantage of having the libraries be relocatable without > > > adjusting the envvars). > > > > In what way would it take time? > In the same way that scanning $LIBDIRPATH would take time - you have > several directories to scan for a particular filename. The only > difference I see is exactly *what* you're looking for (a > domain/libname/path symlink/conf file or libName dir). The processes > would be, near as I can tell, exactly the same. Yes, you're absolutely right. It would actually not be any scanning at all, just trying to get a file named $LIBDIRPATH/LibName... I was thinking about scanning becouse I have all my appdirs in categories and that would require a recursive search for a file, not just a filename lookup. But in that case you could easily add these subdirs to LIBDIRPATH, it would probably not be too big. /Jonatan -=( http://kymatica.com )=- |