Mercurial > octave
diff scripts/gui/uigetfile.m @ 20778:8513c84a13cb
Use parser string concatenation rather than strcat() for performance in m-files.
* __file_filter__.m, __get_funcname__.m, uigetfile.m, uiputfile.m,
__makeinfo__.m, print_usage.m, fix_version.m, axis.m, __add_datasource__.m,
print.m, __gnuplot_draw_axes__.m, __gnuplot_print__.m, __opengl_print__.m,
__print_parse_opts__.m, saveas.m, html_compare_plot_demos.m:
Use parser string concatenation rather than strcat() for performance in m-files.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 30 Nov 2015 08:20:08 -0800 |
parents | 2469d78a1d8b |
children | 516bb87ea72e |
line wrap: on
line diff
--- a/scripts/gui/uigetfile.m Mon Nov 30 09:15:58 2015 -0500 +++ b/scripts/gui/uigetfile.m Mon Nov 30 08:20:08 2015 -0800 @@ -138,7 +138,7 @@ outargs{6} = fdir; endif if (length (fname) > 0 || length (fext) > 0) - outargs{3} = strcat (fname, fext); + outargs{3} = [fname fext]; endif elseif (! isempty (args{3})) print_usage ();