Re: [PATCH v4] tags: much faster, parallel "make tags"

2015-08-19 Thread Michal Marek
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 > +

Re: [PATCH v4] tags: much faster, parallel make tags

2015-08-19 Thread Michal Marek
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 +

[PATCH v4] tags: much faster, parallel "make tags"

2015-05-11 Thread Alexey Dobriyan
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. Speedup is ~30-45% (!) (depending on number of cores). Resulting "tags" files aren't byte-for-byte identical because ctags program numbers anon struct and

[PATCH v4] tags: much faster, parallel make tags

2015-05-11 Thread Alexey Dobriyan
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. Speedup is ~30-45% (!) (depending on number of cores). Resulting tags files aren't byte-for-byte identical because ctags program numbers anon struct and