Skip to content

src: avoid copying strings in FSPermission::Apply

The use of string_view and subsequent copying to a string was supposed to be a minor optimization in 640a7918, however, since 413c16e4, no string splitting occurs anymore. Therefore, we can simply pass around some references instead of using string_view or copying strings.

Refs: https://github.com/nodejs/node/pull/48491 Refs: https://github.com/nodejs/node/pull/49047

Merge request reports

Loading