Oh, true, I overlooked that detail. But FTR, they clarify their question subsequently and specifically ask whether compilation is linear in expression size. No Must* in that clarification.
On Mon, Jun 8, 2020 at 6:05 PM Thomas Bushnell, BSG <[email protected]> wrote: > On Mon, Jun 8, 2020 at 12:02 PM Axel Wagner <[email protected]> > wrote: > >> On Mon, Jun 8, 2020 at 5:41 PM Thomas Bushnell, BSG <[email protected]> >> wrote: >> >>> The OP was about MustCompile, so I think it's clear they are not using >>> patterns passed in by external requests. >>> >> >> I don't think that's clear at all. How do you assume patterns from >> external sources can be matched, if not by compiling them? >> > > "MustCompile is like Compile but panics if the expression cannot be > parsed." > > Thomas > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEkBMfHH1m18LXy%3DmstyRV6OTn7ojTuOgnQY8KhvyaW0oTWzTg%40mail.gmail.com.
