-
Notifications
You must be signed in to change notification settings - Fork 63
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
Fibonacci example generates unexpectedly large output #173
Comments
Yep this is a bug of it including much more built-ins than needed and not doing the best type tracking, should be fixed in next few weeks. |
Couple related observations:
|
Well, there's not much optimization currently since that's not really the focus right now. In the future such code should compile again to reasonable sizes. |
Still not amazing but the same code now compiles to 74307 bytes instead of the huge size of before. |
Maybe a custom font with built-in syntax highlighting will help with rendering large output a bit. 🤯 |
The current fibonacci example on
https://porffor.dev/
with content:Compiles out to 323265 bytes.
If I break out some asm.js ideas buried in the back of my head and tweak it like:
Compiles out to 341 bytes.
Seems like compiled output size would be interesting to track as 262 compliance goes up.
The text was updated successfully, but these errors were encountered: