Skip to content
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

feat[lang]: add inline decorator #4481

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented Feb 20, 2025

What I did

draft. depends #4478

How I did it

How to verify it

use @inline decorator on an internal function and compile it with -O codesize

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 60.86957% with 9 lines in your changes missing coverage. Please review.

Project coverage is 91.96%. Comparing base (a466dc8) to head (decccc1).

Files with missing lines Patch % Lines
vyper/semantics/types/function.py 46.15% 5 Missing and 2 partials ⚠️
vyper/venom/passes/function_inliner.py 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4481      +/-   ##
==========================================
- Coverage   91.99%   91.96%   -0.03%     
==========================================
  Files         120      120              
  Lines       17292    17305      +13     
  Branches     2930     2933       +3     
==========================================
+ Hits        15908    15915       +7     
- Misses        963      967       +4     
- Partials      421      423       +2     

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

only respected if venom is enabled
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