Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FieldMap abstraction #162

Merged
merged 1 commit into from
Mar 24, 2024
Merged

Add FieldMap abstraction #162

merged 1 commit into from
Mar 24, 2024

Conversation

agocke
Copy link
Collaborator

@agocke agocke commented Mar 24, 2024

FieldMap is a simple way of mapping field names to indices, which can be used for deserialization. The dispatch path looks similar to the existing visitor pattern, but results in less code both on the generation side and on the compiler side. It's one component in the work-in-progress in minimizing generic interface dispatch.

FieldMap is a simple way of mapping field names to indices, which can be used
for deserialization. The dispatch path looks similar to the existing visitor
pattern, but results in less code both on the generation side and on the compiler
side. It's one component in the work-in-progress in minimizing generic interface
dispatch.
@agocke agocke merged commit c949a9a into serdedotnet:main Mar 24, 2024
1 check passed
@agocke agocke deleted the FieldMap branch March 24, 2024 20:43
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.

None yet

1 participant