Re: bug: bash 4.2.20 impossibly slow

2012-03-18 Thread Somchai Smythe
On 3/16/12, Chet Ramey wrote: > On 3/14/12 2:14 PM, Somchai Smythe wrote: >> Hello, >> >> I am reporting a problem with performance, not correctness. >> >> While preparing some examples for a course lecture where I code the >> same algorithm in many language

bug: bash 4.2.20 impossibly slow

2012-03-14 Thread Somchai Smythe
Hello, I am reporting a problem with performance, not correctness. While preparing some examples for a course lecture where I code the same algorithm in many languages to compare languages, I ran some code and while it was reasonably quick with ksh, it would just apparently hang at 100% cpu in b