Files
ladybird/Kernel/FileSystem
Max Wipfli 3c0272126e Kernel: Don't allocate Strings unnecessarily in process veil validation
Previously, Custody::absolute_path() was called for every call to
validate_path_against_process_veil(). For processes that don't have a
veil, the path is not used by the function. This means that it is
unnecessarily generated. This introduces an overload to
validate_path_against_process_veil(), which takes a Custody const& and
only generates the absolute path if it there is actually a veil and it
is thus needed.

This patch results in a speed up of Assistant's file system cache
building by around 16 percent.
2021-07-05 18:51:21 +02:00
..
2021-07-03 01:56:31 +04:30
2021-06-24 00:38:23 +02:00
2021-06-29 20:53:59 +02:00
2021-06-29 20:53:59 +02:00