On Tue, Jul 16, 2019 at 1:18 PM Barry <ba...@barrys-emacs.org> wrote:
> > > > On 16 Jul 2019, at 04:47, Andrew Barnert via Python-ideas < > python-ideas@python.org> wrote: > > > > How often do you need to parse a million URLs in your inner loop? > > As it happens i work on code that would be impacted by such a slow down. > It runs in production 24x7 and parses URLs on its critical path. > It does not have to be either or ;). In general, I would prefer security / correctness over performance. But if your use cases call for performance, it is perfectly fine to understand the tradeoffs, and opt in to the more appropriate solutions. And, of course, maybe there is a solution that could satisfy *both*. Generally speaking, though, do you see 1 millisecond spent on parsing a URL deal breaker? I sense that some web frameworks might not like that very much, but I don't have any concrete use case to quote. > Barry > > > >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/5C7J4CJVBOLBU2KECZYNH65H4ELI24EN/ Code of Conduct: http://python.org/psf/codeofconduct/