mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
The use of string_view and subsequent copying to a string was supposed to be a minor optimization in640a7918, however, since413c16e4, 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 PR-URL: https://github.com/nodejs/node/pull/50662 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>