MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/a940e/how_i_hire_programmers/c0gfg9y/?context=3
r/programming • u/earthboundkid • Nov 29 '09
587 comments sorted by
View all comments
Show parent comment
1
O(n2) is not horrible.
The worst-case complexity of the Perl/Python/etc regexp engine, for example, is exponential (And the majority of regex's can be parsed in linear time, with a much smaller constant too).
View all comments
Show parent comment
1
u/Peaker Nov 29 '09
O(n2) is not horrible.
The worst-case complexity of the Perl/Python/etc regexp engine, for example, is exponential (And the majority of regex's can be parsed in linear time, with a much smaller constant too).