diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-04 15:47:47 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-04 17:56:01 -0700 |
| commit | 74346b0f79ca4bf67d61008030c7cc3565bff3f9 (patch) | |
| tree | 69bdcb7800608daed4a8908406623f3bab38f0e4 /src/codegen | |
| parent | 30ec43a6c78d9c8803becbea5a02edb8fae08af6 (diff) | |
| download | zig-74346b0f79ca4bf67d61008030c7cc3565bff3f9.tar.gz zig-74346b0f79ca4bf67d61008030c7cc3565bff3f9.zip | |
frontend: TrackedInst stores FileIndex instead of path digest
The purpose of using path digest was to reference a file in a
serializable manner. Now that there is a stable index associated with
files, it is a superior way to accomplish that goal, since removes one
layer of indirection, and makes TrackedInst 8 bytes instead of 20.
The saved Zig Compiler State file for "hello world" goes from 1.3M to
1.2M with this change.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
