Skip to content

Conversation

@zbchi
Copy link
Contributor

@zbchi zbchi commented Oct 31, 2025

#3008

问题描述

image

改动点

  • 将正则表达式的编译过程提前到循环外,只编译一次并复用
  • 添加了 os.O_TRUNC , 确保当生成的新文件内容比原文件短时不会残留旧内容

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.35%. Comparing base (48c55c0) to head (607da25).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3067   +/-   ##
=======================================
  Coverage   40.35%   40.35%           
=======================================
  Files         457      457           
  Lines       32415    32415           
=======================================
  Hits        13082    13082           
  Misses      18071    18071           
  Partials     1262     1262           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@Alanxtl Alanxtl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work, don't forget to change all comment to English

Copy link
Contributor

@nanjiek nanjiek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good jobs. Please replace the comment to English.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2025

@zbchi
Copy link
Contributor Author

zbchi commented Nov 2, 2025

ok , done

@nanjiek
Copy link
Contributor

nanjiek commented Nov 4, 2025

@Alanxtl merge

@Alanxtl Alanxtl merged commit c63bec0 into apache:main Nov 4, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants