[ http://issues.apache.org/jira/browse/AXIS2C-473?page=comments#action_12459855 ] Samisa Abeysinghe commented on AXIS2C-473: ------------------------------------------
What if we get rid of ops struct form all structs where we do not need inheritance? If we do that, we can also get rid of inderection. But that only works for the cases where we do not want inhritance, specially when polymorphic calls are not required. I think there are only few places that we need polymorphic calls in the current implementation. e.g. we need that for handlers, but not in OM or util and most often not even in context or description hierarchy. > Statically allocate ops structs > ------------------------------- > > Key: AXIS2C-473 > URL: http://issues.apache.org/jira/browse/AXIS2C-473 > Project: Axis2-C > Issue Type: Improvement > Affects Versions: Current (Nightly) > Reporter: James Clark > > At the moment, there is a separate dynamically-allocated ops struct for each > object. The point of separating the ops struct from the object is to allow > the ops struct to be statically allocated and shared between all objects of > the same class. Fixing this would significantly reduce memory usage. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
