On Tue, 12 Sep 2006 at 1:56pm, A.J.Mechelynck wrote: > Hari Krishna Dara wrote: > [...] > > Yes, that is what I am doing. Is fnamemodify() an expensive operation > > involving OS calls? > > > > From the description of what it does, fnamemodify() _seems_ to involve > only string manipulation, possibly checking $HOME and/or the current > window's current directory depending on the {mods} argument. There may > be one OS call on Unix or VMS if ~user/ (not just ~ which is $HOME) is > used in conjunction with ":p". > > I haven't checked the C code however. > > > Best regards, > Tony.
That is what I was hoping. At least for simple modifications not involving special character expansion, it is probably simple string manipuations and will not be expensive. -- Thanks, Hari __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com