diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 02:22:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 07d1e5066ef38c99cb112cb709fb719e3470bd0d (patch) | |
| tree | 8e4ebb10da2e2b97037baf4f07a4699b7862a149 /src/CHANGELOG.md | |
| parent | b3d32656413734952bc918c2d4cfd12fede6c214 (diff) | |
| download | pardes-07d1e5066ef38c99cb112cb709fb719e3470bd0d.tar.gz pardes-07d1e5066ef38c99cb112cb709fb719e3470bd0d.zip | |
walk: a load's note on a field is written from the names at run time: Load's and Get's three notes on a field (its kind changed, its default taken or left as it was; not in the dump) passed .{ @typeName(T), field }, a tuple of comptime strings, so `note` and std's print under it were compiled once a type, field and message (2,506 instances of note, 2,225 of Writer.print); noteField takes the two names as run-time strings and is one instance a message; the notes' text is the same, byte for byte; core-test's forced full recompile (Debug, one filter) 120.12e9 to 112.95e9 instructions (-6.0 %), generic instances 19,383 to 14,799, the Debug test's text 85.84 MB to 82.82 MB; a session's byte dump, its image and a closed pane's save are the same bytes before and after (but the clock's), each build loads the other's with no note and the same digest, wire.semantics and the tape's shape unchanged; the changelog says so
Diffstat (limited to 'src/CHANGELOG.md')
| -rw-r--r-- | src/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index f367774e..c1a78828 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -41,6 +41,12 @@ A column resizes by its box, left of its tag; a pane by its own box, or in a window by the rule above it. +- An edit to the core recompiles it about 1 s sooner again (`core-test`, + 6 % fewer of the compiler's instructions, 3 MB less code in a Debug + test): a load's note on a field (another build's dump) is written from + the type's and the field's names at run time, where every type and + field had its own copy of the code that writes one. + - An edit to the core recompiles it about 3 s sooner (`core-test`, 13 s to 10 s): the build keeps each grammar's highlight patterns that pardes colours once, where every compile of every program that takes the core |
