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

如果 assemblyscript 的里面代码出现相互引用,会出现重复代码 #4

Open
doxiaodong opened this issue Jun 22, 2018 · 1 comment

Comments

@doxiaodong
Copy link


即这段代码会的 assembly 分支会重复实现,体积增大

@happybang
Copy link
Contributor

我不了解你说的场景,ts是委托AS进行生成wasm文件的,如果ts自身的互相引用可能在wasm中是 会产生冗余的,但是你标记这块代码是loader直接引用的AS入口文件,我们默认认为任何一个被AS-TS-loader引入的都会是一个单独的wasm。如果是我理解错 ,请帮忙给我提供下 场景 多谢。

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

2 participants