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

编译包体积大问题 #559

Closed
iaping opened this issue Dec 1, 2023 · 2 comments
Closed

编译包体积大问题 #559

iaping opened this issue Dec 1, 2023 · 2 comments

Comments

@iaping
Copy link

iaping commented Dec 1, 2023

tobig tobig2

如果我用了sonic包解析json,编译后体积55M,不使用编译后33M,是哪里需要配置吗

@AsterDY
Copy link
Collaborator

AsterDY commented Dec 1, 2023

sonic底层实现很复杂,并且为了在不同的cpu feature(sse/avx/avx2)下自动兜底同时引入了多套c汇编代码。所有这个情况符合预期。个人觉得多出来20M对部署影响不大?

@iaping
Copy link
Author

iaping commented Dec 1, 2023

明白,20M影响不大,确实了是包影响了编译体积就好,感谢答复!

@AsterDY AsterDY closed this as completed Dec 1, 2023
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