^thehatsrule^

Group: Members
Posts: 3275
Joined: July 2006 |
 |
Posted: Mar. 07 2008,03:12 |
 |
I agree with you mikshaw. Afaik certain shell-specific built-ins can take up more resources too. For larger, mainstream distros I think I've seen bash v3 become the standard over ~2 years or so.
For DSL, I played around with replacing bash entirely by a replacement (bourne) sh shell, but I forget whether I posted about the idea of replacing bash v2 in the base DSL. Could be that I didn't because there was an existing thread or that I had no "real" benchmark (perhaps Curaga's thread on bootchart would help here). In any case, I am pushing the idea out here. Didn't do much testing though.
A real-world distro example would be how Ubuntu included 'dash' in edgy - iirc it's a BSD port and is what /bin/sh defaults to. For now, all I can say that it requires fewer libs and is smaller in size, and that it could result in speed-ups. Saying that, it does have it's own problems and differences from my experience with it.
|