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

fix: generate size-optimized code for TypeScript #745

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

oliverlaz
Copy link
Member

@oliverlaz oliverlaz commented Sep 17, 2024

Overview

We are enabling code size optimizations to reduce the size of our SDK further. This generates ~2.5x less lines of code.
The tradeoff is in the slight degradation encode/decode performance of the WS events:

Ref: GetStream/stream-video-js#1488

@oliverlaz oliverlaz merged commit 847346c into main Sep 19, 2024
2 checks passed
@oliverlaz oliverlaz deleted the optimize-for-size branch September 19, 2024 13:36
@github-actions github-actions bot mentioned this pull request Oct 10, 2024
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