diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-27 17:45:13 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-27 17:45:13 +0200 |
| commit | 3b0e9424a66058da82d11d432da886ec7b6ce7eb (patch) | |
| tree | 0ad906e3b7d945405cdfeb9ff95b02546e1ed4bb /src/list.zig | |
| parent | ef5c0341ca15f6862294802103b02992b29609e8 (diff) | |
perf(eval): reduce memory syscall
Diffstat (limited to 'src/list.zig')
| -rw-r--r-- | src/list.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/list.zig b/src/list.zig index 0facef9..fe3a246 100644 --- a/src/list.zig +++ b/src/list.zig @@ -12,14 +12,12 @@ pub const Error = paragraph.Error || Allocator.Error; pub fn parseOrdored(alloc: Allocator, l: *Lexer) Error!Element { const el = try Element.list.Ordored.init(alloc); - errdefer el.deinit(alloc); try parse(alloc, &el.content, l, .list_ordored); return el.element(); } pub fn parseUnordored(alloc: Allocator, l: *Lexer) Error!Element { const el = try Element.list.Unordored.init(alloc); - errdefer el.deinit(alloc); try parse(alloc, &el.content, l, .list_unordored); return el.element(); } |
