mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-96 oops: debugging code! [collation perf]
X-SVN-Rev: 267
This commit is contained in:
parent
11eaf18abc
commit
6f38a88ec1
1 changed files with 15 additions and 15 deletions
|
@ -890,26 +890,26 @@ RuleBasedCollator::getRules() const
|
|||
data->ruleTable = temp.getRules();
|
||||
data->isRuleTableLoaded = TRUE;
|
||||
#ifdef _DEBUG
|
||||
// the following is useful for specific debugging purposes
|
||||
UnicodeString name;
|
||||
cerr << "Table collation rules loaded dynamically for "
|
||||
<< data->desiredLocale.getName(name)
|
||||
<< " at "
|
||||
<< data->realLocaleName
|
||||
<< ", " << dec << data->ruleTable.size() << " characters"
|
||||
<< endl;
|
||||
// // the following is useful for specific debugging purposes
|
||||
// UnicodeString name;
|
||||
// cerr << "Table collation rules loaded dynamically for "
|
||||
// << data->desiredLocale.getName(name)
|
||||
// << " at "
|
||||
// << data->realLocaleName
|
||||
// << ", " << dec << data->ruleTable.size() << " characters"
|
||||
// << endl;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
UnicodeString name;
|
||||
cerr << "Unable to load table collation rules dynamically for "
|
||||
<< data->desiredLocale.getName(name)
|
||||
<< " at "
|
||||
<< data->realLocaleName
|
||||
<< endl;
|
||||
cerr << "Status " << errorName(status) << ", mPattern " << temp.mPattern << endl;
|
||||
// UnicodeString name;
|
||||
// cerr << "Unable to load table collation rules dynamically for "
|
||||
// << data->desiredLocale.getName(name)
|
||||
// << " at "
|
||||
// << data->realLocaleName
|
||||
// << endl;
|
||||
// cerr << "Status " << errorName(status) << ", mPattern " << temp.mPattern << endl;
|
||||
#endif
|
||||
/* SRL have to add this because we now have the situation where
|
||||
DEFAULT is loaded from a binary file w/ no rules. */
|
||||
|
|
Loading…
Add table
Reference in a new issue