>>>> "Adam" == Adam Duck
<duck(a)informatik.uni-frankfurt.de> writes:
Adam> I find this patch suboptimal as the subprocess doesn't work
Adam> all the time -- at least here on my FreeBSD box. It takes
Adam> approx. 10x longer to unbzip2 edict.bz2 than on 21.4 (in
Adam> which I didn't experience any hangs).
Did you experience hangs in 21.5 before the patch?
What do you mean by "doesn't work all the time"? Sometimes it hangs,
sometimes it doesn't?
Adam> Can _I_ do something about it (apart from coding it myself?
Adam> :-) ).
Profile it and see where the time's going (M-: (profile FORMS) RET or
M-x profile-key-sequence SINGLE-COMMAND, where SINGLE-COMMAND may be
bound to a sequence of several keys). Then M-x profile-results. In
21.4 and older 21.5 versions (maybe even the current one) you should
do clear-profiling-info before doing a new run, otherwise the stats
accumulate. It's arguable that that is very inaccurate, so Ben either
changed 21.5 to clear-profiling-info before every M-x profile (and
added a separate command for when you really want to accumulate the
statistics), or is about to do so.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.