Skip to content

Inputs map2slice #5

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

justin177
Copy link

@justin177 justin177 commented Mar 11, 2022

  1. inputs元素数量通常都较多,一般会预先分配空间,数组的访问效率更高一点,频次越高越明显
  2. 库里的辅助函数其实用处不大
  3. 升级proto版本使用新的序列化特性
  4. 或许应当不并入master,应该是一个新分支,提供另一个选择,可以只把核心的东西提取出来
  5. 欢迎讨论,说说大家都是怎么用的
  6. 最好打个tag作为release的version

@SecretSun
Copy link

golang proto map 类型性能并不高,当元素越多的时候性能会越差。
社区 2019 年提出的 issue 也并没有解决。

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

Successfully merging this pull request may close these issues.

2 participants