"libtool" performance... / was: Re: Announcing Dolt, a drop-in Libtool replacement which cuts build timesin half
daniel at fooishbar.org
Fri Apr 11 07:34:14 PDT 2008
On Fri, Apr 11, 2008 at 04:23:52PM +0200, Roland Mainz wrote:
> Uhm... a while ago we hit the same problem and did some research on the
> issue and a diffent route by switching the shell used by libtool from
> "bash" to "ksh93" and did some minor modifications (e.g. enable more
> ksh93 builtin commands, replace some of the "sed" usage by
> builtin-string operators (which are common between "bash" and "ksh93"
> but libtool didn't use them) etc. (the resulting script no longer does
> unneccesary |fork()|+|exec()| calls (since ksh93 doesn't |fork()| for
> subshells&co.))) ... and as a result we hit a similar performance
> improvement as seen with the "dolt" tool...
Thanks for the suggestion, but given the choice between forking a
multi-thousand-line shell script and replacing it with a ten line shell
script, I think we'll stick with the one that isn't insane.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the xorg