From 623df388782dcfe70f4f147cb24197e535f9c89b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 21 Jan 2026 15:48:25 +0100 Subject: pkg/codesearch: reduce memory consumption a bit more Use uint32 instead of int for line numbers (2G lines should be enough for everyone). Reorder fields to remove unnecessary paddings. --- pkg/codesearch/testdata/source2.c.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/codesearch/testdata/source2.c.json') diff --git a/pkg/codesearch/testdata/source2.c.json b/pkg/codesearch/testdata/source2.c.json index 4407152db..5e75950c0 100644 --- a/pkg/codesearch/testdata/source2.c.json +++ b/pkg/codesearch/testdata/source2.c.json @@ -1,9 +1,9 @@ { "definitions": [ { - "kind": "function", "name": "same_name_in_several_files", "type": "void ()", + "kind": "function", "body": { "file": "source2.c", "start_line": 4, -- cgit mrf-deployment