You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "cargilld (JIRA)" <xe...@xml.apache.org> on 2005/03/23 19:18:21 UTC
[jira] Closed: (XERCESC-1370) Performance: XMLReader class define getter methods const
[ http://issues.apache.org/jira/browse/XERCESC-1370?page=history ]
cargilld closed XERCESC-1370:
-----------------------------
Closing as changes have been verified.
> Performance: XMLReader class define getter methods const
> --------------------------------------------------------
>
> Key: XERCESC-1370
> URL: http://issues.apache.org/jira/browse/XERCESC-1370
> Project: Xerces-C++
> Type: Improvement
> Components: Miscellaneous
> Versions: 2.6.0
> Environment: all
> Reporter: Christian Will
> Priority: Minor
> Attachments: XMLReader.cpp.patch, XMLReader.hpp.patch
>
> Hi,
> we should define these functions as constant, that offers the compiler more optimization.
> bool isAllSpaces(...) const;
> bool containsWhiteSpace(...) const;
> bool isXMLLetter(const XMLCh toCheck) const;
> bool isFirstNameChar(const XMLCh toCheck) const;
> bool isNameChar(const XMLCh toCheck) const;
> bool isPlainContentChar(const XMLCh toCheck) const;
> bool isSpecialStartTagChar(const XMLCh toCheck) const;
> bool isXMLChar(const XMLCh toCheck) const;
> bool isWhitespace(const XMLCh toCheck) const;
> bool isControlChar(const XMLCh toCheck) const;
> bool isPublicIdChar(const XMLCh toCheck) const;
> I attached patch files.
> Regards,
> Christian Will
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org