[Feature] 词云 insertZerosToArray 方法在部分环境下性能存在问题
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.