Skip to content

过多功能的页面内容变更是使用定时器实现的,增加了不必要的性能消耗 #225

Description

@qixing-jk
Image

Activity

  1. anghunk commented on Aug 16, 2025

    @anghunk
    Owner

    执行完毕后进行销毁操作,详情参照 #209

  2. qixing-jk commented on Aug 16, 2025

    @qixing-jk
    ContributorAuthor

    > 执行完毕后进行销毁操作,详情参照 #209

    但从技术实现选择上,应该是使用 MutationObserver 比较合适吧,interval终究是要即使没有任何操作也会一直执行的

  3. anghunk commented on Aug 16, 2025

    @anghunk
    Owner

    > 执行完毕后进行销毁操作,详情参照 #209

    但从技术实现选择上,应该是使用 MutationObserver 比较合适吧,interval终究是要即使没有任何操作也会一直执行的

    技术债,最开始设计扩展时用的是定时器。

    另外最想吐槽的就是 Discourse 架构,实时刷新渲染机制会导致很多问题,处理起来比较不灵活

  4. Repository owner locked and limited conversation to collaborators on Aug 16, 2025
  5. converted this issue into a discussion #226 on Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions