diff options
| author | 2026-02-13 10:27:30 -0500 | |
|---|---|---|
| committer | 2026-02-13 10:27:30 -0500 | |
| commit | f20348e9a3782ce11b4c9bee39be06fe2f6d50cd (patch) | |
| tree | 5bd415bf80f1b5630d1c8821ca1e58e9847e2b23 /README.md | |
| parent | Fix stage names in codegen/gencat (diff) | |
| download | zg-no-allocation.tar.gz zg-no-allocation.tar.xz zg-no-allocation.zip | |
Prerelease touchupv0.16.0-rc1no-allocation
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -579,7 +579,7 @@ const Scripts = @import("Scripts"); | |||
| 579 | 579 | ||
| 580 | test "Scripts" { | 580 | test "Scripts" { |
| 581 | // To see the full list of Scripts, look at the | 581 | // To see the full list of Scripts, look at the |
| 582 | // `src/Scripts.zig` file. They are list in an enum. | 582 | // `src/Scripts.zig` file. They are listed as an enum. |
| 583 | try expect(Scripts.script('A') == .Latin); | 583 | try expect(Scripts.script('A') == .Latin); |
| 584 | try expect(Scripts.script('Ω') == .Greek); | 584 | try expect(Scripts.script('Ω') == .Greek); |
| 585 | try expect(Scripts.script('צ') == .Hebrew); | 585 | try expect(Scripts.script('צ') == .Hebrew); |
| @@ -621,7 +621,7 @@ the fragment (`CodePoint` uses a `u3` for length, actually). | |||
| 621 | 4GiB is a lot of string. There are a few reasons to work with that much | 621 | 4GiB is a lot of string. There are a few reasons to work with that much |
| 622 | string, log files primarily, but fewer to bring it all into memory at | 622 | string, log files primarily, but fewer to bring it all into memory at |
| 623 | once, and practically no reason at all to do anything to such a string | 623 | once, and practically no reason at all to do anything to such a string |
| 624 | without breaking it into smaller piece to work with. | 624 | without breaking it into smaller pieces to work with. |
| 625 | 625 | ||
| 626 | Also, Zig compiles on 32 bit systems, where `usize` is a `u32`. Code | 626 | Also, Zig compiles on 32 bit systems, where `usize` is a `u32`. Code |
| 627 | running on such systems has no choice but to handle slices in smaller | 627 | running on such systems has no choice but to handle slices in smaller |