内存优化

This commit is contained in:
2026-08-28 11:49:06 +08:00
parent e26f7eb52f
commit fa1e7e24fc
21 changed files with 722 additions and 237 deletions
@@ -10,6 +10,7 @@
#include "Psc_Cpp_Core/Statistics/Statistics.h"
#include "Psc_Cpp_Core/transmit_protocol/core/statistics.h"
#include "global.h"
class Data_Feed;
// 这个函数专门装cpu密集函数 放到线程池去处理
class Data_Source_Handler : public DataBase {
public:
@@ -28,6 +29,7 @@ public:
void refresh_data_feed_key_list();
struct Cached_Source_Info {
std::string key;
std::shared_ptr<Data_Feed> feed;
Psc::Value_Statistics mode_s_cache_num;
Psc::Value_Statistics mode_other_cache_num;
};