Skip to content
This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Optimize EventChannels #47

Open
iceBear67 opened this issue Jul 1, 2023 · 1 comment
Open

Optimize EventChannels #47

iceBear67 opened this issue Jul 1, 2023 · 1 comment
Assignees
Labels
priority: low question Further information is requested waiting-for-review

Comments

@iceBear67
Copy link
Member

目前, dash 内部的 EventChannel 实现是互不相干的一些链表,每个链表都定义了 map filter 等操作。
然而,在很多情况下 filter 几乎总是重复的(比如,精确到某个群组),而 Session API ( #37 ) 大量依赖这些 filter 实现功能。
如果我们能把事件分发的模型改为树状,性能会好很多。

@iceBear67 iceBear67 added question Further information is requested waiting-for-review priority: low labels Jul 1, 2023
@iceBear67 iceBear67 self-assigned this Jul 1, 2023
@iceBear67
Copy link
Member Author

倒是也可以从 session 的实现上下手。因为识别一样的条件实际上很麻烦

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: low question Further information is requested waiting-for-review
Projects
None yet
Development

No branches or pull requests

1 participant