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

Coroutine simplifications and generalization #1160

Merged

Conversation

gabriel-barrett
Copy link
Member

Some simplifications, refactors, and a generalization of recurse to allow any number of recursive subqueries

@gabriel-barrett gabriel-barrett requested a review from a team as a code owner February 21, 2024 00:52
&new_acc,
is_recursive,
)?;
let nil = g.alloc_ptr(ns!(cs, "nil"), &store.intern_nil(), store);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be outside the loop.

porcuquine
porcuquine previously approved these changes Feb 21, 2024
@gabriel-barrett gabriel-barrett added this pull request to the merge queue Feb 21, 2024
Merged via the queue into argumentcomputer:main with commit 5458a53 Feb 21, 2024
11 checks passed
@gabriel-barrett gabriel-barrett deleted the coroutine-simplification branch February 21, 2024 02:11
winston-h-zhang pushed a commit that referenced this pull request Feb 27, 2024
* Some simplifications

* `GlobalAllocator` does not need to be mutable

* Generalized `recurse` and `post_recursion`

* Moved nil to outside the loop
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.

None yet

2 participants