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
..
2024-11-29 17:55:07 +01:00
2025-05-28 22:24:23 +00:00
2025-05-20 19:14:49 +02:00
2025-05-01 14:28:05 +00:00
2025-05-28 22:24:23 +00:00
2024-11-19 22:55:32 +00:00
2025-05-12 13:37:54 +02:00
2025-04-27 17:38:57 +00:00
2025-04-08 12:13:42 +00:00
2024-12-05 12:24:15 -08:00
2025-04-08 12:13:42 +00:00
2025-05-12 13:37:54 +02:00
2025-04-08 12:13:42 +00:00
2025-04-27 17:38:57 +00:00
2025-04-27 17:38:57 +00:00
2024-12-04 23:50:31 +00:00
2024-11-19 22:55:32 +00:00
2024-11-19 22:55:32 +00:00
2025-05-28 19:39:59 +00:00
2025-05-20 20:45:21 +00:00
2025-05-02 10:57:15 +00:00
2025-05-11 17:26:55 +02:00
2024-11-19 22:55:32 +00:00
2025-04-08 12:13:42 +00:00
2024-11-19 22:55:32 +00:00
2024-11-29 17:55:08 +01:00
2024-11-29 17:55:08 +01:00
2025-04-27 17:38:57 +00:00
2025-02-04 14:06:04 +00:00
2024-11-19 22:55:32 +00:00
2025-06-10 13:58:08 +02:00
2025-04-08 12:13:42 +00:00
2025-01-16 00:12:57 -08:00
2025-05-12 13:37:54 +02:00
2025-06-10 13:58:08 +02:00
2025-05-20 20:45:21 +00:00
2025-04-08 12:13:42 +00:00
2025-04-08 12:13:42 +00:00
2025-06-10 13:58:08 +02:00
2025-05-02 10:57:15 +00:00
2024-11-19 22:55:32 +00:00
2025-06-10 13:58:08 +02:00
2025-04-08 12:13:42 +00:00
2025-06-10 13:58:08 +02:00
2025-04-08 12:13:42 +00:00
2024-11-19 22:55:32 +00:00
2024-11-19 22:55:32 +00:00
2024-11-19 22:55:32 +00:00
2025-06-10 13:58:08 +02:00
2025-05-20 19:14:49 +02:00
2025-04-08 12:13:42 +00:00
2025-02-24 13:48:29 +01:00
2025-04-08 12:13:42 +00:00
2025-05-01 14:28:05 +00:00
2025-06-10 13:58:08 +02:00