On Tue, Feb 18, 2020 at 1:47 PM Vincent Blanchon
<blanchon.vinc...@gmail.com> wrote:

> However, in real code, I guess we will have that many constants, so it does 
> not make really sense to increase the number.

Design decisions may be driven by the desire to maximize the
performance in the average case or in the worst case scenario.

That's why Go has a regexp package that's slower in the average case
wrt PCRE, but it guarantees linear, not exponential, performance of
the worst case.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-V8hcW5V-mJN8eALozxkUPD7mRuHBSkR%3DyrA1Yh0G7PZQ%40mail.gmail.com.

Reply via email to