VisActor / VisActor/VGrammar

[Feature] 词云 insertZerosToArray 方法在部分环境下性能存在问题

Open
#619 0 comments 0 reactions 1 assignee View on GitHub

@Rui-Sun is already working on this.

Since Jan 10, 2025.

Dominant language
TypeScript
Stars
109
Forks
21
PR merge metrics
No merged PRs in 30d

Description

What problem does this feature solve?

在部分电脑上还是可以复现,目前也没找到具体是哪里影响了,但可以明确的是主要影响“[].splice”性能,把insertZerosToArray的实现去掉splice依赖后,可以基本解决(2.6s > 590ms)

What does the proposed API look like?

添加配置,支持自定义 insertZerosToArray 实现
No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.