CGraph
CGraph copied to clipboard
【A common used C++ DAG framework】 一个通用的、无三方依赖的、跨平台的、收录于awesome-cpp的、基于流图的并行计算框架。欢迎star & fork
https://zhuanlan.zhihu.com/p/660586510 通过批量写入的方式,减少写&读之间的切换流程
是可以优化一些的,但是不是很多 # 原先的 [2023-10-23 23:58:21.626] ----> [MyTimerAspect] [] time cost is : [46252.16] ms [2023-10-23 23:59:07.309] ----> [MyTimerAspect] [] time cost is : [45680.90] ms [2023-10-23 23:59:52.901] ----> [MyTimerAspect] []...
可以考虑实现一个针对lambda的方法,实现模板的特化
 从延时时间可以看出来,taskflow 是在 A 执行的过程中,去 trigger B, 并且执行 C的
https://github.com/ChunelFeng/CGraph/blob/893b53e52f18ca12ec9032b583f549c0fc6a60f9/src/GraphCtrl/GraphElement/GElement.cpp#L42C1-L44C6
这样在一定程度上,应该是可以加速的