You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2007/01/11 10:28:27 UTC

[jira] Created: (AXIS2C-499) Improved axis2_strcasecmp function in axis2c/util/src/string.c file

Improved axis2_strcasecmp function in axis2c/util/src/string.c file
-------------------------------------------------------------------

                 Key: AXIS2C-499
                 URL: https://issues.apache.org/jira/browse/AXIS2C-499
             Project: Axis2-C
          Issue Type: Improvement
          Components: util
    Affects Versions: Current (Nightly)
            Reporter: Supun Kamburugamuva


The axis2_strcasecmp function uses the tolower standard function 4 times. So it has a significant function call overhead. So I have rewrite the function without using the tolower function. The new function has a significant performance gain.

file - axis2c/util/src/string.c
function - axis2_strcasecmp(const axis2_char_t *s1, const axis2_char_t *s2)

rewrote the above function.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-499) Improved axis2_strcasecmp function in axis2c/util/src/string.c file

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated AXIS2C-499:
---------------------------------------

    Attachment: axis2c_util_string.patch

> Improved axis2_strcasecmp function in axis2c/util/src/string.c file
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-499
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-499
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: Current (Nightly)
>            Reporter: Supun Kamburugamuva
>         Attachments: axis2c_util_string.patch
>
>
> The axis2_strcasecmp function uses the tolower standard function 4 times. So it has a significant function call overhead. So I have rewrite the function without using the tolower function. The new function has a significant performance gain.
> file - axis2c/util/src/string.c
> function - axis2_strcasecmp(const axis2_char_t *s1, const axis2_char_t *s2)
> rewrote the above function.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-499) Improved axis2_strcasecmp function in axis2c/util/src/string.c file

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2C-499.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Samisa Abeysinghe

Patch applied. Thanks for the patch.

> Improved axis2_strcasecmp function in axis2c/util/src/string.c file
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-499
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-499
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: Current (Nightly)
>            Reporter: Supun Kamburugamuva
>         Assigned To: Samisa Abeysinghe
>             Fix For: 1.0.0
>
>         Attachments: axis2c_util_string.patch
>
>
> The axis2_strcasecmp function uses the tolower standard function 4 times. So it has a significant function call overhead. So I have rewrite the function without using the tolower function. The new function has a significant performance gain.
> file - axis2c/util/src/string.c
> function - axis2_strcasecmp(const axis2_char_t *s1, const axis2_char_t *s2)
> rewrote the above function.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org