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

avoid calls to getArguments() in interpreter #2473

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

quentin
Copy link
Member

@quentin quentin commented Mar 4, 2024

Avoid calling costly getArguments() when the interpreter is only interested by the number of arguments.

Avoid calling costly `getArguments()` when the interpreter is only
interested by the number of arguments.
@quentin quentin requested review from b-scholz and julienhenry March 4, 2024 16:39
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.18%. Comparing base (dc8ecf8) to head (0e6ed24).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2473      +/-   ##
==========================================
- Coverage   78.19%   78.18%   -0.01%     
==========================================
  Files         486      486              
  Lines       32423    32432       +9     
==========================================
+ Hits        25352    25358       +6     
- Misses       7071     7074       +3     
Files Coverage Δ
src/interpreter/Engine.cpp 85.15% <100.00%> (-0.02%) ⬇️
src/ram/AbstractOperator.h 100.00% <100.00%> (ø)
src/ram/NestedIntrinsicOperator.h 58.97% <100.00%> (+2.21%) ⬆️
src/ram/PackRecord.h 85.18% <100.00%> (+1.18%) ⬆️
src/ram/SubroutineReturn.h 70.58% <100.00%> (+1.83%) ⬆️
src/ram/UserDefinedOperator.h 77.14% <100.00%> (+1.38%) ⬆️

... and 2 files with indirect coverage changes

@quentin quentin merged commit 7826a26 into souffle-lang:master Mar 5, 2024
30 checks passed
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.

2 participants