From cbe982f52b356c55a0c7aa379a880288c8c0a164 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 24 Sep 2026 13:22:32 +0200 Subject: [PATCH] Price two held paths at what the lowest supported Go allocates --- perf_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf_test.go b/perf_test.go index 8392447..4491566 100644 --- a/perf_test.go +++ b/perf_test.go @@ -38,7 +38,7 @@ func TestNoRenderAllocRegression(t *testing.T) { {"nested depth 25", nestedJSON(25), 27}, {"nested depth 100", nestedJSON(100), 102}, {"wide 500 tokens", wideTokenJSON(500), 9}, - {"two paths from one held draw", `{"format":"{p.a} {p.b}","p":[{"format":"x","a":"1","b":"2"},{"format":"y","a":"A","b":"B"}]}`, 2}, + {"two paths from one held draw", `{"format":"{p.a} {p.b}","p":[{"format":"x","a":"1","b":"2"},{"format":"y","a":"A","b":"B"}]}`, 3}, {"ten paths from one held draw", `{"format":"{r.a}{r.b}{r.c}{r.d}{r.e}{r.f}{r.g}{r.h}{r.i}{r.j}","r":[ {"format":"x","a":"1","b":"2","c":"3","d":"4","e":"5","f":"6","g":"7","h":"8","i":"9","j":"0"}, {"format":"y","a":"A","b":"B","c":"C","d":"D","e":"E","f":"F","g":"G","h":"H","i":"I","j":"J"}]}`, 6},