Re: [PATCH] Replace old AWK script (utilizing bc) with Python implementation

2016-04-26 Thread Jan Hubicka
> On 04/25/2016 09:01 PM, Matthias Klose wrote: > > please could you make the shebang python3? Not sure if it's good to replace > > one old implementation with a soon to become old implementation. > > > > Matthias > > Sure, thanks for pointing out. > > Attaching v2, where I changed: > +

Re: [PATCH] Replace old AWK script (utilizing bc) with Python implementation

2016-04-26 Thread Martin Liška
On 04/25/2016 09:01 PM, Matthias Klose wrote: > please could you make the shebang python3? Not sure if it's good to replace > one old implementation with a soon to become old implementation. > > Matthias Sure, thanks for pointing out. Attaching v2, where I changed: + switched from python2 to

Re: [PATCH] Replace old AWK script (utilizing bc) with Python implementation

2016-04-25 Thread Matthias Klose
On 25.04.2016 16:57, Martin Liška wrote: Hello. As I've been playing with branch predictions and contrib/analyze_brprob script, I've decided to replace the old script with a Python implementation. Improvements: + fixed horizontal formatting + remove ugly utilization of bc that is used for

[PATCH] Replace old AWK script (utilizing bc) with Python implementation

2016-04-25 Thread Martin Liška
Hello. As I've been playing with branch predictions and contrib/analyze_brprob script, I've decided to replace the old script with a Python implementation. Improvements: + fixed horizontal formatting + remove ugly utilization of bc that is used for arithmetics + script is a bit faster (tramp3d