Hello,
Am Montag, 5. November 2012 schrieb John Johansen:
> On 11/01/2012 11:06 AM, Christian Boltz wrote:
> > here's a patch that speeds up aa-decode - in my case from 1.9s to
> > 0.3s (test log with about 900 lines, with 16 encoded lines)
> >
> > The trick is to use bash regex matching instead
On 11/01/2012 11:06 AM, Christian Boltz wrote:
> Hello,
>
> here's a patch that speeds up aa-decode - in my case from 1.9s to 0.3s
> (test log with about 900 lines, with 16 encoded lines)
>
> The trick is to use bash regex matching instead of calling egrep for
> each line.
>
> It would probably
Hello,
Am Donnerstag, 1. November 2012 schrieb Seth Arnold:
> Hey that's pretty awesome :) do you know which version of bash
> introduced regex?
http://www.linuxjournal.com/content/bash-regular-expressions says:
Since version 3 of bash (released in 2004) there is another option:
bash's b
Hey that's pretty awesome :) do you know which version of bash introduced regex?
-Original Message-
From: Christian Boltz
Sender: apparmor-boun...@lists.ubuntu.com
Date: Thu, 01 Nov 2012 19:06:21
To: apparmor
Subject: [apparmor] [patch] aa-decode performance tuning
Hello,
her
Hello,
here's a patch that speeds up aa-decode - in my case from 1.9s to 0.3s
(test log with about 900 lines, with 16 encoded lines)
The trick is to use bash regex matching instead of calling egrep for
each line.
It would probably also be possible to replace the sed calls with bash
regex matchi