To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=57934 Issue #:|57934 Summary:|patch to replace SV_DECL_PTRARR class of macros with |templates Component:|utilities Version:|OOo 2.0 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|PATCH Priority:|P3 Subcomponent:|code Assigned to:|hro Reported by:|cmc
------- Additional comments from [EMAIL PROTECTED] Tue Nov 15 05:32:21 -0800 2005 ------- I experimented with replacing the large svtools set of macros with equivalent templates. There are a set of For_Each members in those classes which are almost totally unused outside of sw, so the possibility of removing unused class members suggested itself to me by templatizing the macros. Results are rather inconclusive, for gcc 3.4.4 generally libsize increases every so slightly due to inlining which symbol count reduces for the same reason as well as as-required instantiation. LD_DEBUG=statistics startup reloc count for writer shrinks by a tiny amount. All in all, any advantage would be in the area of code cleaniness from using templates instead of macros, and/or easing migration away from using these macros and towards some STL replacement. But I include the patch here for reference in case anyone else wants to have a look at it, or a rethink. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
