-
Notifications
You must be signed in to change notification settings - Fork 640
Description
I have a general suggestion to ctags regarding the behavior that have probably been being here since the origin of ctags.
When ctags uses stdout output (when -f -
command line option is provided), it anyway creates a temporary file during the tags generation.
To me, such behavior ruins the whole idea of the stdout output. Personally I was using -f -
with the only purpose to avoid any temporary file creation. My expectations regarding -f -
were the following:
- ctags is generating its output tags in a memory
- ctags does not use any intermediate temporary file during this
- ctags outputs the generated tags from the memory to stdout.
However, in reality ctags generates a temporary tags file that seems absolutely useless in this scenario since the output goes to stdout.
In todays world of SSD disks (with their limited write cycles), I'd like to avoid temporary files as much as possible.
Please consider making -f -
to not use any temporary file.