Skip to content

Decode any record (schemaless)#12

Merged
marselester merged 3 commits intomasterfrom
any
Feb 27, 2026
Merged

Decode any record (schemaless)#12
marselester merged 3 commits intomasterfrom
any

Conversation

@marselester
Copy link
Owner

No description provided.

Fields struct had to go (3% perf drop in structs decoding though)
because it was difficult to make it work with any.Value decoing
(runtime filtering) and struct decoding (comptime filtering).
It was replaced with a straightforwad slice of strings.

Maps and arrays from std lib were replaced with simlper structs,
that lead to ~12% faster decoding (tested on M2 Pro).

The any.Value is ~3% faster than struct decoding.
@marselester marselester merged commit 1c6ded8 into master Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant