|
From: | Bob Friesenhahn |
Subject: | Re: func_arith and func_len |
Date: | Sat, 19 Apr 2008 19:42:00 -0500 (CDT) |
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 on Libtool, I'll gladly send lots of beer your way. I mean hey, we still fork quite a bit, and
While for our purposes it is indeed unlikely that we can measure the difference, it seems that the code should use the most "correct" implementation if using it requires minimal effort. If all shells supporting this math syntax also support the native math types (which they likely do since this syntax comes from old ksh), then is there a reason why we would not prefer the "native" syntax for math if we are doing math? Is there a ripple effect?
Bob ====================================== Bob Friesenhahn address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |