Skip to content

Integer power optimizations #1620

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

Conversation

GillesDuvert
Copy link
Contributor

No description provided.

…ger (DLong) power. 5 to 10 times faster.

Put code in gdl_util.hpp, where it can be user everywhere in the GDL code where integer power is needed (ex: math_fun_jmg for polywarp). To be continued.
Found a few bugs and discrepancies with IDL, corrected.
@codecov
Copy link

codecov bot commented Aug 26, 2023

Codecov Report

Patch coverage: 39.59% and no project coverage change.

Comparison is base (052747a) 41.02% compared to head (1ef252f) 41.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1620   +/-   ##
=======================================
  Coverage   41.02%   41.03%           
=======================================
  Files         354      355    +1     
  Lines       95075    95026   -49     
  Branches    19548    19524   -24     
=======================================
- Hits        39009    38990   -19     
+ Misses      56066    56036   -30     
Files Changed Coverage Δ
src/gdlwxstream.cpp 0.00% <0.00%> (ø)
src/plotting_cursor.cpp 0.00% <0.00%> (ø)
src/math_fun_jmg.cpp 28.12% <6.66%> (+0.05%) ⬆️
src/basic_op.cpp 21.67% <16.66%> (-0.98%) ⬇️
src/prognodeexpr.cpp 63.27% <36.36%> (-0.31%) ⬇️
src/basic_op_new.cpp 19.81% <44.44%> (-0.39%) ⬇️
src/gdl_util.hpp 83.33% <83.33%> (ø)

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

@GillesDuvert
Copy link
Contributor Author

closes #1618 #1286 #1530 #1531

@GillesDuvert GillesDuvert merged commit 7bf88b8 into gnudatalanguage:master Aug 27, 2023
@GillesDuvert GillesDuvert deleted the integerPowerOptimizations branch September 8, 2023 17:54
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