summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Sam Atman2026-02-13 10:27:30 -0500
committerGravatar Sam Atman2026-02-13 10:27:30 -0500
commitf20348e9a3782ce11b4c9bee39be06fe2f6d50cd (patch)
tree5bd415bf80f1b5630d1c8821ca1e58e9847e2b23 /README.md
parentFix stage names in codegen/gencat (diff)
downloadzg-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index fd46cab..955414f 100644
--- a/README.md
+++ b/README.md
@@ -579,7 +579,7 @@ const Scripts = @import("Scripts");
579 579
580test "Scripts" { 580test "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).
6214GiB is a lot of string. There are a few reasons to work with that much 6214GiB is a lot of string. There are a few reasons to work with that much
622string, log files primarily, but fewer to bring it all into memory at 622string, log files primarily, but fewer to bring it all into memory at
623once, and practically no reason at all to do anything to such a string 623once, and practically no reason at all to do anything to such a string
624without breaking it into smaller piece to work with. 624without breaking it into smaller pieces to work with.
625 625
626Also, Zig compiles on 32 bit systems, where `usize` is a `u32`. Code 626Also, Zig compiles on 32 bit systems, where `usize` is a `u32`. Code
627running on such systems has no choice but to handle slices in smaller 627running on such systems has no choice but to handle slices in smaller