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

还是新开一个issue吧,为什么编译出来的动态链接库文件那么大? #6

Closed
joostshao opened this issue Jun 4, 2016 · 4 comments
Labels

Comments

@joostshao
Copy link

joostshao commented Jun 4, 2016

3.2M -rw-rw-r-- 1 ubt ubt 3.2M 6月 5 07:14 hello.so

但是一般的原生扩展都很小,即便是swoole,才2MB不到。

1.8M -rwxr-xr-x 1 root root 1.8M 5月 25 00:00 swoole.so*

@kitech
Copy link
Owner

kitech commented Jun 5, 2016

golang语言的特点,就是编译出来的文件比较大

@kitech
Copy link
Owner

kitech commented Jun 5, 2016

可是那是用go build编译出来的,做不了什么优化了。再strip一下估计好点吧。

@nangong92t
Copy link
Contributor

这并不是一个问题

@septianw
Copy link

Bigger file is a risk we took of using go to write PHP extension. it's been years ago, please somebody close this issue.

@kitech kitech added the wontfix label Mar 22, 2019
@kitech kitech closed this as completed Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants