1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

Merge pull request #9658 from pennae/env-diet

reduce the size of Env by one pointer
This commit is contained in:
Robert Hensing 2023-12-31 13:57:16 +01:00 committed by GitHub
commit 83f5622545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 75 additions and 34 deletions

View file

@ -116,11 +116,6 @@ struct Constant
struct Env
{
Env * up;
/**
* Number of of levels up to next `with` environment
*/
unsigned short prevWith:14;
enum { Plain = 0, HasWithExpr, HasWithAttrs } type:2;
Value * values[0];
};