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

IF: Remove recursive implementation of commit in qc_chain #1553

Closed
Tracked by #1508
heifner opened this issue Aug 24, 2023 · 0 comments · Fixed by #1565
Closed
Tracked by #1508

IF: Remove recursive implementation of commit in qc_chain #1553

heifner opened this issue Aug 24, 2023 · 0 comments · Fixed by #1565
Assignees

Comments

@heifner
Copy link
Member

heifner commented Aug 24, 2023

See
https://github.com/AntelopeIO/leap/pull/1536/files#r1304495161

Recursive algorithms can be problematic for limiting execution time and for stack usage. Change to a loop instead.
Although, unlikely that we can interrupt this processing. Will just have to pay the execution time. Stack usage however is an issue.

@arhag arhag added 👍 lgtm and removed triage labels Aug 24, 2023
@heifner heifner self-assigned this Aug 26, 2023
@heifner heifner added the OCI Work exclusive to OCI team label Aug 26, 2023
@heifner heifner linked a pull request Aug 26, 2023 that will close this issue
@heifner heifner removed the OCI Work exclusive to OCI team label Aug 30, 2023
greg7mdp added a commit that referenced this issue Aug 31, 2023
IF: Remove recursive implementation of commit
@arhag arhag closed this as completed Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants