2007-11-08 05:28:47 +00:00
..
2007-10-26 17:39:39 +00:00
2005-11-29 18:24:39 +00:00
2007-11-08 05:28:47 +00:00
2007-11-02 15:36:34 +00:00
2007-10-17 20:06:28 +00:00
2007-10-17 20:06:28 +00:00
2007-10-26 17:39:39 +00:00
In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
2007-07-05 18:15:22 +00:00
This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
2007-11-01 22:26:51 +00:00
2005-11-29 18:24:39 +00:00
2005-11-29 18:24:39 +00:00
2007-10-29 22:44:49 +00:00
2007-11-05 21:36:11 +00:00
2006-10-24 01:28:45 +00:00
2007-08-07 23:04:01 +00:00
2005-11-29 18:24:39 +00:00
2006-11-08 17:06:33 +00:00