DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0024603

The code in TCollection_AsciiString::Search* methods can be simplified

Open CASCADEOCCT:Foundation Classesclosed3 public notes

Search issues

Description

Some unnecessary use of Boolean flags can be avoided in the code of some TCollection_AsciiString::Search* methods.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Please review the branch CR24603.
02Commenter 2
No remarks, please test
03Commenter 3
Dear BugMaster,

Branch CR24603 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 44 (44 on master)
Windows: 0 (0 on master)

products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 371701072 / 372433200
Total CPU difference: 44255.100000000115 / 43920.07000000019

Testing on Windows:
Total MEMORY difference: 418761732 / 409818516
Total CPU difference: 31864.8125 / 35405.640625

There are not differences in images found by testdiff.