Re: [CFT] patch to replace the regex code

看板FB_current作者時間14年前 (2011/06/26 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
> Forgive me if I'm patronizing, but is there any surprise that a POSIX > NFA implementation is slower than grep's DFA? > Oh, of course an NFA implementation will always be slightly slower but the memory footprint will also be smaller, which is a big advantage for embedded systems. But in this case, the basis of the comparison was not the GNU DFA implementation but the old libc-regex. At the moment, BSD grep in the base system uses the GNU regex engine but I built a local version for testing purposes that used libc-regex. Gabor _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1E1Y9YzC (FB_current)
文章代碼(AID): #1E1Y9YzC (FB_current)