Re: func_arith and func_len

2008-04-19 Thread Bob Friesenhahn
On Sat, 19 Apr 2008, Ralf Wildenhues wrote: Let's reuse at_func_arith from Autotest, to redo one of the link mode speedups that fell under the cracks a couple of years ago. IIRC somebody else suggested this recently, but I don't remember who. Please speak up so I can put your name in the

Re: func_arith and func_len

2008-04-19 Thread Ralf Wildenhues
(_LT_CHECK_SHELL_FEATURES): Also check for arithmetic expansion, and ${#var}. (_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len accordingly, falling back on 'expr'. Note that the argument to func_len may not start with a hyphen. In the pre-Posix fallback

Re: func_arith and func_len

2008-04-19 Thread Ralf Wildenhues
Hello Roland, * Roland Mainz wrote on Sat, Apr 19, 2008 at 11:46:02PM CEST: On 4/19/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: [ http://lists.gnu.org/archive/html/libtool-patches/2008-04/msg00096.html ] [snip] 2008-04-19 Ralf Wildenhues [EMAIL PROTECTED] Exploit shell

Re: func_arith and func_len

2008-04-19 Thread Bob Friesenhahn
On Sun, 20 Apr 2008, Ralf Wildenhues wrote: Sorry, but: first, there is no floating point in either Libtool, nor Posix shell semantics. Second, if you can prove to me (by posting timing comparisons) that conversion from integer to string or vice versa, has *any* performance impact whatsoever

Re: func_arith and func_len

2008-04-19 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Sun, Apr 20, 2008 at 02:42:00AM CEST: On Sun, 20 Apr 2008, Ralf Wildenhues wrote: Sorry, but: first, there is no floating point in either Libtool, nor Posix shell semantics. Second, if you can prove to me (by posting timing comparisons) that conversion from integer

Re: func_arith and func_len

2008-04-19 Thread Roland Mainz
On 4/20/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: * Roland Mainz wrote on Sat, Apr 19, 2008 at 11:46:02PM CEST: On 4/19/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: [ http://lists.gnu.org/archive/html/libtool-patches/2008-04/msg00096.html ] [snip] Erm... thanks! ... :-) ... is

Re: func_arith and func_len

2008-04-19 Thread Ralf Wildenhues
* Roland Mainz wrote on Sun, Apr 20, 2008 at 03:03:24AM CEST: On 4/20/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: Second, if you can prove to me (by posting timing comparisons) that conversion from integer to string or vice versa, Here come the requested numbers: -- snip -- $ timex