[ https://issues.apache.org/jira/browse/TUSCANY-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595569#action_12595569 ]
stfindeisen edited comment on TUSCANY-2300 at 5/9/08 4:35 AM: ------------------------------------------------------------------------- The program will hopefully conform to the specification better, if you apply this patch too. :-) (first apply patch1, then patch2). was (Author: stfindeisen): The program will hopefully conform to the specification more, if you apply this patch too. :-) (first apply patch1, then patch2). > performance issues in DataFactoryImpl, TypeImpl, DataObjectImpl, SDOXMLWriter > ----------------------------------------------------------------------------- > > Key: TUSCANY-2300 > URL: https://issues.apache.org/jira/browse/TUSCANY-2300 > Project: Tuscany > Issue Type: Improvement > Components: C++ SDO > Reporter: Stanisław T. Findeisen > Fix For: Cpp-Next > > Attachments: tuscany-patch1-do-czytania.tgz, tuscany-patch2.tgz > > > Hello Tuscany Developers > Here at IBM Polska we wrote a patch for M3 addressing some performance > issues. It is short, so please read it - I hope it is self-explanatory. > Main areas of our development were: > (1) DataFactoryImpl::findTypeImpl --- we added new string hash based > searching of types. > (2) TypeImpl --- we added these maps: > std::map<const char*, int, TStrCmp> hmPropIdx; // property index by > property name > std::map<unsigned int, PropertyImpl*> propByIdx; // property by index > (3) DataObjectImpl::getPropertyIndex(const Property& p) and > DataObjectImpl::getProperty(unsigned int index) (make use of improvements in > TypeImpl) > (4) SDOXMLWriter --- we removed some conversions from std::list to > std::vector that we thought were unnecessary. > I hope you will be able to apply this patch and include it in the next > release. Let me know of you have any problems. > STF -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.