src: remove `std::array` overload of `FIXED_ONE_BYTE_STRING` · nodejs/node@03116a7 · GitHub
Skip to content

Commit 03116a7

Browse files
addaleaxtargos
authored andcommitted
src: remove std::array overload of FIXED_ONE_BYTE_STRING
This overload was only used in one place, in a cold path, and in particular in a place where the compiler would be able to generate the exact same code using just a call to `.size()`. PR-URL: #59826 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent f006a14 commit 03116a7

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

src/node_os.cc

Lines changed: 1 addition & 1 deletion

src/util.h

Lines changed: 0 additions & 8 deletions

0 commit comments

Comments
 (0)