actually want people to port C software to windows!
NFAs are cheaper to construct, but have a O(n*m) matching time, where n is the size of the input and m is the size of the state graph. NFAs are often seen as the reasonable middle ground, but i disagree and will argue that NFAs are worse than the other two. they are theoretically “linear”, but in practice they do not perform as well as DFAs (in the average case they are also much slower than backtracking). they spend the complexity in the wrong place - why would i want matching to be slow?! that’s where most of the time is spent. the problem is that m can be arbitrarily large, and putting a large constant of let’s say 1000 on top of n will make matching 1000x slower. just not acceptable for real workloads, the benchmarks speak for themselves here.
,更多细节参见PDF资料
Copyright © 1997-2026 by www.people.com.cn all rights reserved
但肖弘往后想了一步:未来腾讯一定不会容忍微信生态被外挂们搞得乱七八糟,所以平台一定会治理和控制。如果等到被干掉了再做,窗口期就会关闭。
consider becoming a Spritely supporter today!