git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Remove perl dependency from git-submodule.sh

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
May 31, 2012, 10:37 UTC
Message-ID
<20120531103713.GA30500@paksenarrion.iveqy.com>
In-Reply-To
<CACBZZX6fV5PpgV6GMhDMYgXeeP_QYK9jnP15tMn9Y-a-O6Pn3A@mail.gmail.com>
On Thu, May 31, 2012 at 11:07:22AM +0200, Ævar Arnfjörð Bjarmason wrote:
Show 7 quoted lines
> On Thu, May 31, 2012 at 10:48 AM, Fredrik Gustafsson <iveqy@iveqy.com> 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
Previous: Ævar Arnfjörð BjarmasonNext: Johannes Sixt
Message 3 of 9 in “Remove perl dependency from git-submodule.sh”
  1. Remove perl dependency from git-submodule.shFredrik Gustafsson, May 31, 2012
  2. Ævar Arnfjörð BjarmasonMay 31, 2012
  3. Fredrik GustafssonMay 31, 2012
  4. Johannes SixtMay 31, 2012
  5. Fredrik GustafssonMay 31, 2012
  6. Johannes SixtMay 31, 2012
  7. Junio C HamanoMay 31, 2012
  8. Fredrik GustafssonMay 31, 2012
  9. Junio C HamanoMay 31, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.