r271754 - in /trunk/libstdc++-v3: ChangeLog src...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed May 29 22:00:00 GMT 2019
Author: redi
Date: Wed May 29 22:00:45 2019
New Revision: 271754
URL: https://gcc.gnu.org/viewcvs?rev=271754&root=gcc&view=rev
Log:
Optimize filesystem::path::parent_path()
Parsing a complete string is more efficient than appending each
component one-by-one.
* src/c++17/fs_path.cc (path::parent_path()): Create whole path at
once instead of building it iteratively.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/c++17/fs_path.cc
More information about the Libstdc++-cvs
mailing list