Skip to content

Compile schemas into optimized encoders#49

Draft
siliconlad wants to merge 1 commit intomainfrom
add-message-schema-compilation-for-encoding
Draft

Compile schemas into optimized encoders#49
siliconlad wants to merge 1 commit intomainfrom
add-message-schema-compilation-for-encoding

Conversation

@siliconlad
Copy link
Owner

Summary

  • generate Python encoder functions from message schemas
  • reuse compiled encoders in MessageSerializer for faster serialization
  • test compiled encoder against reference implementation

Testing

  • uvx pre-commit run -a (fails: Failed to fetch: https://pypi.org/simple/pre-commit/)
  • uv run --group test pytest .
  • uv run --group test pytest benchmarks

https://chatgpt.com/codex/tasks/task_e_68bcb2866aac832d8392205216931c99

@siliconlad siliconlad self-assigned this Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant