mirror of
https://github.com/NixOS/nix
synced 2025-06-26 03:21:16 +02:00
Don't include <regex> in header files
This reduces compilation time by ~15 seconds (CPU time). Issue #4045.
This commit is contained in:
parent
cbe0bb29f4
commit
e8e1d420f3
16 changed files with 96 additions and 53 deletions
|
@ -356,6 +356,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
|
|||
, sEpsilon(symbols.create(""))
|
||||
, repair(NoRepair)
|
||||
, store(store)
|
||||
, regexCache(makeRegexCache())
|
||||
, baseEnv(allocEnv(128))
|
||||
, staticBaseEnv(false, 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue