From: Fredrik Gustafsson Date: Thu, 31 May 2012 10:37:13 GMT Subject: Re: [PATCH] Remove perl dependency from git-submodule.sh Message-ID: <20120531103713.GA30500@paksenarrion.iveqy.com> In-Reply-To: On Thu, May 31, 2012 at 11:07:22AM +0200, Ævar Arnfjörð Bjarmason wrote: > On Thu, May 31, 2012 at 10:48 AM, Fredrik Gustafsson wrote: > > Rewrote a perl section in sh. > > > > The code may be a bit slower (doing grep on strings instead of using > > perl-lists). > > May be? Did you test it, if so what's the difference? I did not test it. I think that it can be easily judged by someone that knows how perl implements its arrays. With an array implementation with a hashmap-solution, it should be slower, of course depending on the number of submodules. -- Med vänliga hälsningar Fredrik Gustafsson tel: 0733-608274 e-post: iveqy@iveqy.com