* Bob Friesenhahn wrote on Thu, Jan 22, 2009 at 02:04:07AM CET: > On Wed, 21 Jan 2009, Ralf Wildenhues wrote: >> >> We may need to think about speeding up func_to_host_path, e.g., by not >> forking for arguments that don't need conversion, or by converting >> several paths with a constant amount of forks. But that can be done >> separately. > > There is also the possibility of building a translation cache which is > preserved across libtool invokations. The only concern is if the mounts > get changed after the cache is generated.
Indeed, that seems like a viable possibility, too. I still think just excluding obviously safe cases will help in the vast majority of practical cases: e.g.: - file names without any directory separators, - relative file names (in those cases where no conversion between directory separators is needed). Cheers, Ralf