From 3281cb8192d5dad2625ae5a106f6a6d1a2a975c7 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Thu, 4 Jun 2026 16:53:55 +0200 Subject: Eliminate ShortString. --- src/zisp/value.zig | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/zisp/value.zig') diff --git a/src/zisp/value.zig b/src/zisp/value.zig index eb4ee8b..3450bfd 100644 --- a/src/zisp/value.zig +++ b/src/zisp/value.zig @@ -169,16 +169,6 @@ const endian = builtin.target.cpu.arch.endian(); const max = std.math.maxInt; -/// Used when dealing with runes and short strings. -pub const ShortString = struct { - len: u8, - buf: [6]u8, - - pub fn slice(this: *const @This()) []const u8 { - return this.buf[0..this.len]; - } -}; - /// Used to find the length of a rune or short string. pub fn sstrLen(x: u64) u8 { const bytes: @Vector(8, u8) = @bitCast(x); -- cgit v1.2.3