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

Remove busybox dependency #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Artoria2e5
Copy link
Contributor

配上一点测试,busybox 就是可选依赖了。

配上一点测试,busybox 就是可选依赖了。
@Artoria2e5
Copy link
Contributor Author

理论上再重构一下可以干脆把 Linux (Android) 和 Mac 的合并大半,只要把实际的操作变成 shell function 就是了,甚至直接定义一个巨大的字符串数据结构每个平台各用各的处理方法。

要加速的话除了降低问题规模(合并列表),还可以:

  • 朴素并行化。Shell 每行命令后面加个 & 就是。不过 route 这种操作我拿不准。
  • 降低命令调用次数。很多东西,例如 route 一次支持很多个设置,不该一行行加东西开个四千次。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants