Repository navigation
一些模块级线程池可以挪到实例内部 #2082
ShadowLemoon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
_auto_battle_operator_executorAutoBattleOperator_battle_state_check_executorAutoBattleContext_battle_agent_context_executorAgentContext_target_context_executorTargetContext_dodge_check_executorDodgeContext_withered_domain_context_executorWitheredDomainContext_executor(gpu)_app_preheat_executorApplication_od_event_bus_executorContextEventBus_od_op_task_executorOperationExecutor_od_conditional_op_executorConditionalOperator_state_record_service_executorStateRecordServiceONE_DRAGON_CONTEXT_EXECUTOROneDragonEnvContext可移到实例级的:#2-6(5 个 ZZZ 上层单例 context)。它们都:
ZContext或AutoBattleContext持有)after_app_shutdown已经是实例方法不适合移的:#1, #7-12。要么多实例共享,要么是纯工具模块,要么是框架基类。
#13 介于两者之间——虽然只有一个
ZContext实例,但改动涉及框架基类,收益不大。All reactions