Login
Discover
Waves
Communities
Login
Signup
为什么使用正则表达式会慢?
为什么使用正则表达式会慢?
binxxx
(25)
Published in
#regex
Words
0
Reading
0 min
Listen
Play
2017-06-28 06:13
NFA构造O(n),匹配O(nm)
DFA构造O(2
n),最小化O(kn'logn')(N'=O(2
n)),匹配O(m)
n=regex长度,m=串长,k=字母表大小,n'=原始的dfa大小
regex
2017-06-28 06:13
binxxx
(25)
via
steemit
This post was published via steemit. Ecency is not the originator or editor of this content and displays it for discovery purposes only.
$ 0.000
1
Read next
为什么会怕
王安石变法为什么会失败,深层次的原因是什么?
没什么可痛苦的
Show 1 comments