Skip to content
This repository was archived by the owner on Jul 12, 2026. It is now read-only.

use yencode instead of base64#213

Open
jeetiss wants to merge 2 commits into
dimforge:masterfrom
jeetiss:swap-to-yencode
Open

use yencode instead of base64#213
jeetiss wants to merge 2 commits into
dimforge:masterfrom
jeetiss:swap-to-yencode

Conversation

@jeetiss

@jeetiss jeetiss commented Feb 3, 2023

Copy link
Copy Markdown

Hello folks.

I made this PR to test the yenc encoding

It looks like it produces a bigger encoded string, but it is compressed much better with gzip.

stats for pkg3d/rapier.es.js:

*yEnc*
Bundle Size:  2.16 MB           
Minified Size:  1.45 MB     
Gzipped Size:  563.37 KB 

*base-64*
Bundle Size:  1.89 MB
Minified Size:  1.89 MB
Gzipped Size:  707.67 KB

Feel free to close this PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant