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

Haxe build code size comparison is unfair ^^ #10

Open
nadako opened this issue Aug 7, 2019 · 0 comments
Open

Haxe build code size comparison is unfair ^^ #10

nadako opened this issue Aug 7, 2019 · 0 comments

Comments

@nadako
Copy link

nadako commented Aug 7, 2019

I was wondering how come Haxe output is that bigger than TS and I see it includes the typed array polyfills:

var js_html_compat_ArrayBuffer = function(a) {
which is quite some code and it brings runtime type checking code with itself, which is also not super small. Would be nice to compile without it and I think if you just use Haxe 4 RC 3 it will be gone.

Also, a lot of generated code comes from the method inlining which is not the case for TS/Dart, so I'm not sure if it even makes sense to have a code size metric here.

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

No branches or pull requests

1 participant