Re: "libtool" performance... / was: Re: Announcing Dolt, a drop-in Libtool replacement which cuts build timesin half

Daniel Stone <[email protected]>
Newsgroups gmane.comp.freedesktop.xorg,gmane.comp.kde.devel.general,gmane.comp.gnu.libtool.general,gmane.comp.gnome.devtools
Message-ID <[email protected]>
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.

Cheers,
Daniel

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH/3bmUVYB1rKAgJQRAkolAJ0Ve6EliQJHG90ncKEiV8mVCAoZLwCgvAXz
z10BWoqxjb4dwspnPdV9muw=
=aQjM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.