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

絵文字マッチのパフォーマンス改善 #121

Open
marihachi opened this issue Jul 16, 2022 · 2 comments
Open

絵文字マッチのパフォーマンス改善 #121

marihachi opened this issue Jul 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@marihachi
Copy link
Contributor

No description provided.

@marihachi marihachi added the enhancement New feature or request label Jul 16, 2022
@marihachi
Copy link
Contributor Author

marihachi commented Jul 16, 2022

方法1

最初に1回だけ正規表現にマッチして絵文字として判定された各部分の位置情報をパーサーに渡す。
パーサーはその位置情報を状態として持つ。
パーサーはその位置情報を使用して各位置から絵文字が始まるかどうかを確認し処理を分岐する。

@marihachi
Copy link
Contributor Author

方法1でやってみたけど変わんなかった

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

No branches or pull requests

1 participant