All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Soltys <soltys-R61QfzASbfY@public.gmane.org>
To: WANG Cong <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/2] bash3 compat patch
Date: Tue, 11 Oct 2011 10:53:44 +0200	[thread overview]
Message-ID: <4E940418.6080102@ziu.info> (raw)
In-Reply-To: <j70q7d$ldn$1@dough.gmane.org>

On 11.10.2011 09:11, WANG Cong wrote:
>
> Interesting function, if i understand it correctly, it parallelizes
> the stream into two so that can speed up the pattern filtering?
>
> My brain spins...
>
It was added by John Reiser (see commit 
d23159a69c818274486f1287ba6267b96f3febb7).

I just moved the main body into a function, so it's easily eval'able - 
in order to avoid {var}>& construct. As a side effect, it's 
(subjectively) a bit easier to read.

 From what I can see, the outermost parentheses along with related 
_merge fd could probably be removed. Not tested that though, no big 
difference either.

  reply	other threads:[~2011-10-11  8:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 21:58 [PATCH 0/2] minimum bash version Michal Soltys
     [not found] ` <1318283885-1792-1-git-send-email-soltys-R61QfzASbfY@public.gmane.org>
2011-10-10 21:58   ` [PATCH 1/2] bash3 compat patch Michal Soltys
2011-10-11  7:11     ` WANG Cong
2011-10-11  8:53       ` Michal Soltys [this message]
     [not found]         ` <4E940418.6080102-R61QfzASbfY@public.gmane.org>
2011-10-12 16:09           ` John Reiser
     [not found]     ` <1318283885-1792-2-git-send-email-soltys-R61QfzASbfY@public.gmane.org>
2011-10-11  7:39       ` Harald Hoyer
2011-10-10 21:58   ` [PATCH 2/2] explicitly verify bash version Michal Soltys
     [not found]     ` <1318283885-1792-3-git-send-email-soltys-R61QfzASbfY@public.gmane.org>
2011-10-11  7:39       ` Harald Hoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E940418.6080102@ziu.info \
    --to=soltys-r61qfzasbfy@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.