- Nov 18, 2022
-
-
Alexandre Detiste authored
-
- Nov 11, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
clock time is important for interactive use
-
- Nov 09, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
- Nov 06, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
- Nov 05, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
plocate.cc: In function ‘int read_plocate(std::vector<std::__cxx11::basic_string<char> >&, const string&)’: plocate.cc:83:46: error: no matching function for call to ‘std::__cxx11::basic_string<char>::compare(int, std::experimental::fundamentals_v1::basic_string_view<char>::size_type, std::experimental::fundamentals_v1::string_view&) const’ && it.compare(0, filename.size(), filename) == 0
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
- Nov 04, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
- avoid exception thrown on fs::is_directory() failure - use string_view and std:::move to avoid string copies - use C++ directory iterator instead of executing find(8) - avoid underflow in string comparison
-
Alexandre Detiste authored
-
-
- Nov 03, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
- Nov 02, 2022
-
-
The function myglob() is called tens of thousands of times, thus dropping the debug code saves around 4 seconds.
-
- use distinct type from owner, for clarification and not storing the package name twice - drop default constructor by not using map subscript operator, which default creates non-existent entries - use std::move to avoid copies
-
-
-
Avoid overflows for large data.
-
- use array for constant data - avoid std::endl - forward all matches to csv output
-
- improve error message - use std::move to avoid copies - avoid C-style cast
-
- avoid copy
-
- improve error message - use string_view to avoid copies
-
- use bool for variables only assigned booleans - add missing include
-
- Nov 01, 2022
-
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-
Alexandre Detiste authored
-