You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, an interesting subcase are short URLs, such as file://C:/.
It is fairly easy to detect early that we have a short URL and we could have a dedicated fast path. E.g., if the URL is just a protocol and domain or drive letter, we could sidestep much processing. To do so, we could empirically look at the URL length.
If it is, say, under 16 bytes, then we could test a few common cases.
The text was updated successfully, but these errors were encountered:
The library is optimized for realistic URLs.
However, an interesting subcase are short URLs, such as
file://C:/
.It is fairly easy to detect early that we have a short URL and we could have a dedicated fast path. E.g., if the URL is just a protocol and domain or drive letter, we could sidestep much processing. To do so, we could empirically look at the URL length.
If it is, say, under 16 bytes, then we could test a few common cases.
The text was updated successfully, but these errors were encountered: