bytedance / bytedance/Fastbot_Android
reuseModel 中存在重复数据
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
通过 https://github.com/bytedance/Fastbot_Android/blob/main/native/agent/ModelReusableAgent.cpp#L487 此处输出的log发现,fbm文件中存在重复的数据,同一个action hash下会存在多条相同activity的数据,如下:
02-07 11:03:14.772 5890 5890 D [Fastbot]: load model hash: 4325384338484416857 xxxActivity 17
02-07 11:03:14.772 5890 5890 D [Fastbot]: load model hash: 4325384338484416857 xxxActivity 176
02-07 11:03:14.772 5890 5890 D [Fastbot]: load model hash: 4325384338484416857 xxxActivity 34
查看ReuseEntryM类型:[typedef std::map ReuseEntryM](https://github.com/bytedance/Fastbot_Android/blob/main/native/agent/ModelReusableAgent.h#L22)
ReuseEntryM类型是否应该修改为 `typedef std::map> ReuseEntryM` ?
如果还是需要使用原写法,是否可以解释下原因?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.