Messages in this thread | | | Subject | Re: [PATCH v4] tags: much faster, parallel "make tags" | From | Michal Marek <> | Date | Wed, 19 Aug 2015 15:25:40 +0200 |
| |
On 2015-05-11 22:25, Alexey Dobriyan wrote: > ctags is single-threaded program. Split list of files to be tagged into > almost equal parts, process them on every CPU and merge the results.
Sorry, I missed the v4 of the patch.
> + # Remove headers. > + for i in .make-tags.t*; do > + sed -i -e '/^!/d' $i > + done > + > + # Write final header. > + $1 -f $2 /dev/null > + > + # Append sorted results. > + sort .make-tags.t* >>$2 > + rm -f .make-tags.t*
This still breaks Exuberant ctags in emacs mode: $ ln -s /usr/bin/ctags ~/bin/etags $ make TAGS GEN TAGS etags: "TAGS" doesn't look like a tag file; I refuse to overwrite it. etags: "TAGS" doesn't look like a tag file; I refuse to overwrite it.
The TAGS file is corrupted because of the sorting.
Michal
| |