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

Rewrote astish to recursion and shave some bytes #419

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RealPeha
Copy link

Rewrote astish function to recursion instead of while loop and shave some bytes

Size comparison

Before:
Wrote 1183 B: goober.cjs.gz
       1079 B: goober.cjs.br
Wrote 1188 B: goober.esm.js.gz
       1085 B: goober.esm.js.br
Wrote 1257 B: goober.umd.js.gz
       1137 B: goober.umd.js.br
Wrote 1188 B: goober.modern.js.gz
       1085 B: goober.modern.js.br

After:

Wrote 1185 B: goober.cjs.gz
       1078 B: goober.cjs.br
Wrote 1186 B: goober.esm.js.gz
       1090 B: goober.esm.js.br
Wrote 1252 B: goober.umd.js.gz
       1134 B: goober.umd.js.br
Wrote 1186 B: goober.modern.js.gz
       1090 B: goober.modern.js.br

@vercel
Copy link

vercel bot commented Jan 14, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/cristianbote/goober-rocks/HnEjBNDq4bNbsURoSi4dGi8ho54u
✅ Preview: https://goober-rocks-git-fork-realpeha-shave-astish-528bf6-cristianbote.vercel.app

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e7a5e35:

Sandbox Source
Vanilla Configuration

@RealPeha RealPeha changed the title Rewrote astish to recursion instead of while loop and shave some bytes Rewrote astish to recursion and shave some bytes Jan 14, 2022
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.

None yet

1 participant