Skip to content

intern URL scheme #1936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 18, 2024
Merged

intern URL scheme #1936

merged 2 commits into from
Nov 18, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Nov 17, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 96.96970% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.30%. Comparing base (9ea51a5) to head (85aff44).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/core/url.c 93.75% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1936      +/-   ##
==========================================
+ Coverage   81.08%   81.30%   +0.22%     
==========================================
  Files          94       94              
  Lines       23955    23946       -9     
  Branches     3192     3189       -3     
==========================================
+ Hits        19423    19469      +46     
+ Misses       4457     4406      -51     
+ Partials       75       71       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The idea here is to reduce the dynamic allocations used for
URLs, and also the back and forth with parsing begin strings
and port numbers.  We always resolve to a port number, and
this is easier for everyone.

The real goal in the long term is to eliminate dynamic allocation
of the URL fields altogether, but that requires a little more
work.  This is a step in the right direction.
@gdamore gdamore merged commit 85aff44 into main Nov 18, 2024
19 checks passed
@gdamore gdamore deleted the intern-scheme branch November 18, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant