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

Save restore procedures now available #1681

Merged

Conversation

GillesDuvert
Copy link
Contributor

@GillesDuvert GillesDuvert commented Dec 5, 2023

Very Good news:
Saves/restore of all procedures (including object procedures) is now in GDL.
Tested on ATV and, more important, SSW's HESSI library of routines.
Despite compression the save files are quite large, larger than their text counterpart. But they are (partially) compiled and the time gain is in favor of using them. As most of the compiled code is a bunch of zeros, there may be a way to improve the compression.

Bad news:

  • RESOLVE_ALL must be improved to find all dependencies, otherwise the use of all this is a bit restricted. Note that it is difficult also with IDL to get all needed functions, objects and data within a .sav file.

Next step: provide saved (.sav) along our .pro files to speedup GDL.

…yed while code is active).

corrected oops in saverestore, the version code written after the 'normal' end was not always written.
Still need to manage better the vector of semiCompiled code (memory leak).
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 387 lines in your changes are missing coverage. Please review.

Comparison is base (24a3deb) 41.80% compared to head (bf04c4c) 41.94%.
Report is 2 commits behind head on master.

Files Patch % Lines
src/gdlhelp.cpp 42.44% 240 Missing ⚠️
src/saverestore.cpp 67.13% 117 Missing ⚠️
src/math_fun_ac.cpp 0.00% 21 Missing ⚠️
src/dinterpreter.cpp 64.70% 6 Missing ⚠️
src/dpro.cpp 75.00% 2 Missing ⚠️
src/widget.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1681      +/-   ##
==========================================
+ Coverage   41.80%   41.94%   +0.13%     
==========================================
  Files         356      356              
  Lines       95211    95616     +405     
  Branches    19555    19668     +113     
==========================================
+ Hits        39805    40102     +297     
- Misses      55406    55514     +108     

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

@GillesDuvert GillesDuvert merged commit f7b01e5 into gnudatalanguage:master Dec 8, 2023
7 of 8 checks passed
@GillesDuvert GillesDuvert deleted the save_restore_procedures branch July 2, 2024 13:24
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