BobDu commented on PR #27389: URL: https://github.com/apache/airflow/pull/27389#issuecomment-1296485967
> > why are you say `urlsplit` is faster and lighterweight? python official docs not record it, even, I didn't find any other information recommending use `urlsplit`. > > Its not much faster and maybe its a bit overselling it to be calling it lighterweight, but it is faster as it doesn't try to parse the url for params. The [second sentence here](https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlsplit) of python docs on it says "This should generally be used instead of urlparse()". Emm, `if the more recent URL syntax allowing parameters to be applied to each segment of the path portion of the URL (see [RFC 2396](https://datatracker.ietf.org/doc/html/rfc2396.html)) is wanted.` But, It seems we don't need support RFC 2396 update syntax? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
