Open binzo opened 4 months ago
通过 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<stringPtr, int> ReuseEntryM
ReuseEntryM类型是否应该修改为 typedef std::map<stringPtr, int, Comparator<std::string>> ReuseEntryM ?
typedef std::map<stringPtr, int, Comparator<std::string>> ReuseEntryM
如果还是需要使用原写法,是否可以解释下原因?
通过 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<stringPtr, int> ReuseEntryM
ReuseEntryM类型是否应该修改为
typedef std::map<stringPtr, int, Comparator<std::string>> ReuseEntryM
?如果还是需要使用原写法,是否可以解释下原因?