Re: Bashification of initscripts for moderate speedup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 03.07.2010 21:07, schrieb Victor Lowther:
> On Sun, 2010-06-27 at 22:10 -0500, Victor Lowther wrote: 
>> I have spent some time over the last month or so rewriting the Arch
>> initscripts in idiomatic bash -- since they rely on bash-specific
>> features, trying to keep them fairly POSIX is rather a waste of time and
>> a net performance loss -- using bash-style conditionals is about 30%
>> faster when nothing needs to be touched on the filesystem and about 200%
>> easier to read, and you can use bash regexps in place of most trivial
>> uses of sed, grep, and awk when mangling parameters or variables -- the
>> fewer short-lived processes we fork the better.
>>
>> You can browse changes I have made in the git repo @
>> http://git.fnordovax.org/arch-initscripts/log/?h=bashification and you
>> can checkout my changes to play around with from
>> git://fnordovax.org/~victor/arch-initscripts 
> 
> OK, the bashification branch has been rebased and updated to fix issues
> pointed out in the patch-by-patch feedback.  Thomas, if you want I will
> repost the branch to the mailing list.
> 

I will finish reviewing the rest of the patches first, when I get the
time again. Sorry for being so slow on this.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux