Performance improvements: move out from the loop the strlen declaration. 27/13227/2
authorSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>
Tue, 26 Nov 2013 10:32:06 +0000 (11:32 +0100)
committercodereview <codereview@git.scilab.org>
Tue, 26 Nov 2013 13:06:57 +0000 (14:06 +0100)
commit6aa1a66c24080aedca442c3699c3ab6065d88699
tree3be7ca4ef12491437fc5cdff5c5ec0bf2318a657
parent498ec26ba80a061bb72b6e9c19245755fe8f91df
Performance improvements: move out from the loop the strlen declaration.
It was called for every step of the loop.

Change-Id: I77123006c5e2358ffe00f59fc136e2b75f3ae180
13 files changed:
scilab/modules/core/sci_gateway/c/sci_newfun.c
scilab/modules/fftw/sci_gateway/c/sci_get_fftw_wisdom.c
scilab/modules/fileio/sci_gateway/c/sci_mfprintf.c
scilab/modules/graphics/src/c/scitokenize.c
scilab/modules/output_stream/sci_gateway/c/sci_mprintf.c
scilab/modules/output_stream/src/c/msgs.c
scilab/modules/string/sci_gateway/c/sci_strcat.c
scilab/modules/string/src/c/convstr.c
scilab/modules/string/src/c/stringToComplex.c
scilab/modules/string/src/c/stripblanks.c
scilab/modules/tclsci/src/c/InitTclTk.c
scilab/modules/windows_tools/src/c/scilab_windows/ConvertSlash.c
scilab/modules/windows_tools/src/c/scilab_windows/FilesAssociations.c