Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提高性能 #13

Closed
Chaoses-Ib opened this issue Sep 23, 2021 · 2 comments · Fixed by #30
Closed

提高性能 #13

Chaoses-Ib opened this issue Sep 23, 2021 · 2 comments · Fixed by #30
Assignees
Labels
enhancement New feature or request

Comments

@Chaoses-Ib
Copy link
Owner

No description provided.

@Chaoses-Ib Chaoses-Ib added the enhancement New feature or request label Sep 23, 2021
@Chaoses-Ib Chaoses-Ib self-assigned this Sep 23, 2021
Chaoses-Ib referenced this issue Sep 23, 2021
Reuse the processed content when called with the same raw content
Chaoses-Ib referenced this issue Sep 23, 2021
Improve performance by adding "case:" modifier;
Add Test project
Chaoses-Ib added a commit that referenced this issue Sep 24, 2021
Chaoses-Ib added a commit that referenced this issue Sep 24, 2021
@Chaoses-Ib
Copy link
Owner Author

选择正则方案的原因

正则的确效率比较低,但也是目前唯一不用进行复杂逆向的方案了。不管是修改文件名还是修改 Everything 的匹配算法,都需要进行很耗时间的逆向以及 debug,而且每次 Everything 版本更新还需要重新适配,对我来说成本太高了。

@Chaoses-Ib
Copy link
Owner Author

根据目前的测试来看,Everything v1.5 Alpha 的性能仍然不够理想,通配符字符组在字符较多时性能远不如正则表达式字符组,整体查询性能虽然提升了 30% 左右,但还是耗时很长。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant