You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/funcs
Steve Murphy 98429d37b2
Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
19 years ago
..
Makefile
func_base64.c
func_blacklist.c
func_callerid.c
func_cdr.c
func_channel.c
func_curl.c
func_cut.c 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. 19 years ago
func_db.c
func_devstate.c
func_dialgroup.c Add a simple dialgroup function. By taking one of the simpler uses of Queue 19 years ago
func_enum.c
func_env.c Make func_env build again. 19 years ago
func_extstate.c
func_global.c
func_groupcount.c
func_iconv.c
func_lock.c Make sure a channel exists before attempting to start or stop channel 19 years ago
func_logic.c Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string. 19 years ago
func_math.c
func_md5.c
func_module.c
func_odbc.c 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. 19 years ago
func_rand.c
func_realtime.c Merged revisions 87262 via svnmerge from 19 years ago
func_sha1.c
func_shell.c Make sure a channel exists before attempting to start or stop channel 19 years ago
func_strings.c improve linked-list macros in two ways: 19 years ago
func_timeout.c
func_uri.c
func_version.c
func_vmcount.c
func_volume.c