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

冗長なRegex呼び出しの高速化 #131

Open
ca45382 opened this issue Aug 15, 2021 · 0 comments
Open

冗長なRegex呼び出しの高速化 #131

ca45382 opened this issue Aug 15, 2021 · 0 comments
Assignees
Labels
改善 リファクタリングとかする場合

Comments

@ca45382
Copy link
Owner

ca45382 commented Aug 15, 2021

\d の部分と \D{1,3} の部分を再度取り直す処理がもったいないので、最初に Regex.Match(m_commandEventArgs.Name, @"(\d)(\D{1,3})") を呼んで、その返り値のMatchのGroupsを活用しましょう

Originally posted by @cllightz in #125 (comment)

@ca45382 ca45382 self-assigned this Aug 15, 2021
@ca45382 ca45382 added the 改善 リファクタリングとかする場合 label Aug 15, 2021
ca45382 added a commit that referenced this issue Aug 15, 2021
@cllightz cllightz added this to TODO in ToDoリスト Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
改善 リファクタリングとかする場合
Projects
Development

No branches or pull requests

1 participant