docs(smart_path): add negative performance warning (#1899)

This commit is contained in:
Simon Hauser
2022-04-30 12:10:41 +02:00
committed by GitHub
parent 460eb8c32b
commit 1b6909cfb3
2 changed files with 6 additions and 2 deletions

View File

@@ -315,7 +315,9 @@ append(
- "tail" only display the file name, and not the path
- "absolute" display absolute paths
- "smart" remove as much from the path as possible to only show
the difference between the displayed paths
the difference between the displayed paths.
Warning: The nature of the algorithm might have a negative
performance impact!
- "shorten" only display the first character of each directory in
the path
- "truncate" truncates the start of the path when the whole path will