Files
lix/lix/libexpr
Raito Bezarius ebc8f56b52 libexpr/primops: pass the underlying Value of symbols if possible
Instead of allocating a new Value and copy the symbol string
representation inside of it, we can pass along the underlying Value,
which avoids (garbage collected) allocations.

This results in:

* a ~8 % reduction for `gc.totalBytes` over
  `nixos.ec2.closures.x86_64-linux` for NixOS 24.11. (920MiB → 842MiB)
* a slight reduction in CPU time due to less allocations being performed
  at all

Change-Id: I097f586dbc98f889fbc62d0a5f80c9d76ddedfd2
Signed-off-by: Raito Bezarius <raito@lix.systems>
2025-06-10 13:58:08 +02:00
..
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-05-11 17:26:55 +02:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00