mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
concatStrings: Give compiler access to definition for inlining
... at call sites that are may be in the hot path. I do not know how clever the compiler gets at these sites. My primary concern is to not regress performance and I am confident that this achieves it the easy way.
This commit is contained in:
parent
97e01107ec
commit
7e604f716c
5 changed files with 9 additions and 0 deletions
|
@ -49,6 +49,8 @@
|
|||
|
||||
#endif
|
||||
|
||||
#include "strings-inline.hh"
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace nix {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue