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

Optimize EventChannels #47

@iceBear67

Description

@iceBear67

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions