ghc::filesystem Release v1.5.2
2021-02-27 20:57

Heute habe ich v1.5.2
von
ghc::filesystem
veröffentlicht, meiner
Implementation der C++17-Komponente std::filesystem
für C++11, C++14, C++17 und C++20.
Dieses Release bringt Performance-Optimierungen im POSIX-Backend, wo Tests
mit recursive_directory_iterator über einen größeren Verzeichnisbaum etwa
20%-25% schneller wurden, verbesserte string_view-Unterstützung und
diverse Fehlerbehebungen.
Die Änderungen in v1.5.2:
- Enhancement #104
, on POSIX backend: optimized reuse of status information and reduced
directory_entrycreation leads to about 20%-25% in tests withrecursive_directory_iteratorover a larger directory tree. - Pull request #103
,
wchar_twas not in the list of supported char types on non-Windows backends. - Pull request #102
, improved
string_viewsupport makes use of<string_view>or<experiemental/string_view>when available, and allows use of custombasic_string_viewimplementation when definingGHC_HAS_CUSTOM_STRING_VIEWand importing the string view into theghc::filesystemnamespace before including filesystem header. - Pull request #101 , fix for #100 , append and concat type of operations on path called redundant conversions.
- Pull request #98
, on older linux variants (GCC 7/8), the comerative
std::filesystemtests now link with-lrtto avoid issues. - Fix for #97
, on BTRFS the test case for
fs::hard_link_countfailed due to the filesystems behavior, the test case was adapted to take that into account. - Pull request #96
, the export attribute defines
GHC_FS_APIandGHC_FS_API_CLASSare now honored when when set from outside to allow override of behavior. - Fix for #95 , the syntax for disabling the deprecated warning in tests in MSVC was wrong.
- Pull request #93
, now the CMake configuration file is configured and part of the
make installfiles.
Ich danke allen Beteiligten für ihre Unterstützung!