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

Aravind/skip unchanged encode #153

Merged
merged 3 commits into from
Feb 7, 2024
Merged

Conversation

aravindet
Copy link
Collaborator

@aravindet aravindet commented Feb 6, 2024

A lot of pass-through providers don't modify the payload or the return value. Unfortunately Graffy must always assume that it has, which leads to many wasted CPU cycles encoding and decoding things.

This adds an explicit "unchanged" symbol that providers can pass to allow skipping encode.

@aravindet aravindet merged commit c1b8a77 into next Feb 7, 2024
1 check passed
@aravindet aravindet deleted the aravind/skip-unchanged-encode branch February 7, 2024 03:52
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.

2 participants