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.

Reply via email to