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

解析字符很多的Markdown,直接被卡哭了,正则匹配用了20多秒 #19

Open
hackereee opened this issue Sep 3, 2018 · 1 comment

Comments

@hackereee
Copy link

No description provided.

@hackereee
Copy link
Author

我这个Markdown解析用在一个聊天界面里,有时候需要解析几千个不换行的字符,虽然说需求有点奇葩,但是这个时候的正则匹配用trace 分析了下占了20多秒的解析时间,好可怕。。。希望大神有时间可以优化下。

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

No branches or pull requests

1 participant