1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-15 21:41:04 +01:00
nix/src/libexpr-tests
Sergei Zimmerman 363620dd24 libexpr: Statically allocate commonly used symbols
The motivation for this change is two-fold:

1. Commonly used Symbol values can be referred to
   quite often and they can be assigned at compile-time
   rather than runtime.

2. This also unclutters EvalState constructor, which was
   getting very long and unreadable.

Spiritually similar to https://gerrit.lix.systems/c/lix/+/2218,
though that patch doesn't allocate the Symbol at compile time.

Co-authored-by: eldritch horrors <pennae@lix.systems>
2025-08-31 13:24:06 +02:00
..
data Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
pch libexpr-tests: Improve compile times with PCH 2025-08-17 00:56:54 +03:00
value libexpr: Statically allocate commonly used symbols 2025-08-31 13:24:06 +02:00
.version Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
derived-path.cc treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
error_traces.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
eval.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
json.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
main.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
meson.build treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nix_api_expr.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
nix_api_external.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
nix_api_value.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
package.nix Write just ./.version on all components 2025-02-18 11:41:35 +01:00
primops.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
search-path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
trivial.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00