Skip to content

Decode any record (schemaless)#12

Open
marselester wants to merge 2 commits intomasterfrom
any
Open

Decode any record (schemaless)#12
marselester wants to merge 2 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.
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