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

WASM binary size optimization #107

Open
samuelOsborne opened this issue Mar 25, 2024 · 2 comments
Open

WASM binary size optimization #107

samuelOsborne opened this issue Mar 25, 2024 · 2 comments
Assignees

Comments

@samuelOsborne
Copy link
Member

No description provided.

@theashraf theashraf changed the title Size optimizations WASM binary size optimization Mar 25, 2024
@theashraf
Copy link
Member

We can remove the zip library and create a simple zip walker ready to scan the central directory of the zip binary. Once we encounter a compressed entry, we can deflate it using libdeflater, a compact and performant library. This approach should reduce the size by at least ~100KB

@theashraf
Copy link
Member

Marker support is now available in ThorVG, so we can utilize it to eliminate our custom markers implementation, saving a few kilobytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants