axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Blough (JIRA)" <>
Subject [jira] [Created] (AXIS2C-1698) Investigate inner workings of guththila_token_list_*
Date Thu, 17 May 2018 03:01:00 GMT
Bill Blough created AXIS2C-1698:

             Summary: Investigate inner workings of guththila_token_list_*
                 Key: AXIS2C-1698
             Project: Axis2-C
          Issue Type: Task
          Components: guththila
            Reporter: Bill Blough

While implementing additional tests for guththila, I noticed that guththila_token_list_init
and guththila_token_list_grow allocate memory that does not appear to be used, with the exception
of pushing addresses of empty elements onto the token stack.  Since the functions to get/set
tokens in the list directly call pop/push on the stack, it seems to me that the additional
allocations are unnecessary.  However, since I'm still getting familiar with the codebase,
I don't want to make major changes based on assumptions.

This task is a reminder to go back and investigate whether these allocations are truly necessary,
and if not, eliminate them.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message