PIString optimization
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -130,7 +130,13 @@ int main(int argc, char * argv[]) {
|
||||
}
|
||||
piCout << l << "PIString::fromNumber" << tm.elapsed_m();
|
||||
tm.reset();
|
||||
for(int i=0; i<cc; ++i) {
|
||||
PIString s = is;
|
||||
l = s.size();
|
||||
}
|
||||
piCout << l << "PIString::assign empty" << tm.elapsed_m();
|
||||
PIString is2 = PIString::fromUTF8(ba);
|
||||
tm.reset();
|
||||
for(int i=0; i<cc; ++i) {
|
||||
PIString s = is;
|
||||
l = s.size();
|
||||
|
||||
Reference in New Issue
Block a user